Properties

$container

$container : 

Type

$options

$options : \ArrayObject

Type

\ArrayObject

$optionNameHandlers

$optionNameHandlers : array

Type

array

$startTime

$startTime : integer

Type

integer

$initialMemoryUsage

$initialMemoryUsage : integer

Type

integer

$nodesRegister

$nodesRegister : \SplObjectStorage

Type

\SplObjectStorage

$eventDump

$eventDump : callable

Type

callable

$profilers

$profilers : array

Type

array

$profilersIndex

$profilersIndex : integer

Type

integer

Methods

getEventListeners()

getEventListeners() 

attachEvents()

attachEvents() 

detachEvents()

detachEvents() 

getOptions()

getOptions() 

{@inheritdoc}

setOptions()

setOptions(  $options) 

{@inheritdoc}

Parameters

$options

setOptionsRecursive()

setOptionsRecursive(  $options) 

{@inheritdoc}

Parameters

$options

setOptionsDefaults()

setOptionsDefaults(  $options = null) 

{@inheritdoc}

Parameters

$options

hasOption()

hasOption(  $name) 

{@inheritdoc}

Parameters

$name

getOption()

getOption(  $name) 

{@inheritdoc}

Parameters

$name

setOption()

setOption(  $name,   $value) 

{@inheritdoc}

Parameters

$name
$value

unsetOption()

unsetOption(  $name) 

{@inheritdoc}

Parameters

$name

addOptionNameHandlers()

addOptionNameHandlers(callable  $handler) 

Parameters

callable $handler

resetOptions()

resetOptions() 

initialize()

initialize() 

reset()

reset() 

kill()

kill() 

isAlive()

isAlive() 

getFunctionDump()

getFunctionDump(mixed  $value, callable  $function = 'var_dump') : string

Catch output of a dump function and return it as string.

Parameters

mixed $value
callable $function

Returns

string

getEventDump()

getEventDump(\Phug\Event  $event) : string

Parameters

\Phug\Event $event

Returns

string

getDebugId()

getDebugId(  $nodeId) 

Parameters

$nodeId

recordDisplayEvent()

recordDisplayEvent(  $nodeId) 

Parameters

$nodeId

recordProfilerDisplayEvent()

recordProfilerDisplayEvent(  $debugId) 

Parameters

$debugId

handleOptionName()

handleOptionName(string  $name) : string

Parameters

string $name

Returns

string

isTraversable()

isTraversable(  $value) 

Parameters

$value

filterTraversable()

filterTraversable(  $values) 

Parameters

$values

setOptionArrays()

setOptionArrays(array  $arrays, string  $functionName) : $this

Parameters

array $arrays
string $functionName

Returns

$this

setDefaultOption()

setDefaultOption(  $key,   $value) 

Parameters

$key
$value

withVariableReference()

withVariableReference(mixed  $variable,   $name, callable  $callback) : \Phug\Util\Partial\&$options

Parameters

mixed $variable
$name
callable $callback

Returns

\Phug\Util\Partial\&$options

withOptionReference()

withOptionReference(  $name, callable  $callback) : \Phug\Util\Partial\&$options

Parameters

$name
callable $callback

Returns

\Phug\Util\Partial\&$options

appendParam()

appendParam(\Phug\Event  $event,   $key,   $value) 

Parameters

\Phug\Event $event
$key
$value

appendNode()

appendNode(\Phug\Event  $event,   $node) 

Parameters

\Phug\Event $event
$node

throwException()

throwException(\Phug\Event  $event,   $message) 

Parameters

\Phug\Event $event
$message

record()

record(\Phug\Event  $event) 

Parameters

\Phug\Event $event

renderProfile()

renderProfile() 

cleanupProfilerNodes()

cleanupProfilerNodes() 

getCompilerEventListeners()

getCompilerEventListeners() 

getFormatterEventListeners()

getFormatterEventListeners() 

getParserEventListeners()

getParserEventListeners() 

getLexerEventListeners()

getLexerEventListeners()