# VarDumpHighlightInterface

Chevere\Interfaces\VarDump\VarDumpHighlightInterface

view source (opens new window)

# Description

Describes the component in charge of highlight the var dump strings.

# Constants

# KEYS

Type array

array (
  0 => 'string',
  1 => 'float',
  2 => 'integer',
  3 => 'boolean',
  4 => 'null',
  5 => 'object',
  6 => 'array',
  7 => 'resource',
  8 => '_file',
  9 => '_class',
  10 => '_operator',
  11 => '_function',
  12 => '_modifiers',
  13 => '_variable',
  14 => '_emphasis',
)

# Methods

# __construct

Constructs a highlight instance specified by $key.

Parameters

  • key: string

# highlight

Highlights $string.

Parameters

  • string: string

Return

string


# palette

Provide access to the color palette.

Return

array

return [
    'string' => '<color_for_string>',
    'float' => '<color_for_float>',
];

Last Updated: 5/1/2021, 2:31:10 PM