# VarDumpProcessorInterface

Chevere\Interfaces\VarDump\VarDumpProcessorInterface

view source (opens new window)

# Description

Describes the component in charge of processing a variable of a known type.

# Constants

# MAX_DEPTH

Type integer

10

# Methods

# __construct

Parameters


# type

Provides the variable type (primitive).

Return

string


# info

Provides info about the variable like size=1, length=6, 'Object #id'

Return

string


# typeHighlighted

Provides a highlighted type.

Return

string


# highlightOperator

Highlights the given operator $string.

Parameters

  • string: string

Return

string


# highlightParentheses

Highlights and wraps in parentheses the given $string.

Parameters

  • string: string

Return

string


# circularReference

Provides the *circular reference* flag.

Return

string


# maxDepthReached

Provides the *max depth reached* flag.

Return

string


# write

Write the dump to the stream.

Return

void


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