Method |
Description |
|
__construct ( mixed $value = null ) |
|
|
__toString ( ) : string |
|
|
call ( string $method, array $arguments = [] ) : mixed |
Call a method on this context |
|
callAndWrap ( string $method, array $arguments = [] ) : mixed |
Call a method and wrap the result |
|
get ( string | integer | Context $path ) : mixed |
Get a value of the context |
|
getAndWrap ( string $path = null ) : Context |
Get a value by path and wrap it into another context |
|
push ( mixed $value, string $key = null ) : Context |
Push an entry to the context |
|
unwrap ( ) : mixed |
Unwrap the context value recursively |
|
unwrapValue ( $value ) : mixed |
Unwrap a value by unwrapping nested context objects |
|
wrap ( mixed $value ) : Context |
Wraps the given value in a new Context |
|