# VarDumpInterface

Chevere\Interfaces\VarDump\VarDumpInterface

view source (opens new window)

# Description

Describes the component in charge of providing a \var_dump() replacement.

# Methods

# __construct

Parameters


# withVars

Return an instance with the specified $vars.

Parameters

  • ...vars:

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $vars.


# withShift

Return an instance with the specified $shift traces shifted.

Parameters

  • shift: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $shift traces shifted.

This method removes $shift traces from \debug_backtrace()


# process

Process the dump writing

Parameters

Return

void


# vars

Provides access to the instance vars.

Return

array


# shift

Provides access to the shift value.

Return

int


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