Метод |
Описание |
|
__construct ( array $assigns = null, array $registers = [] ) |
Constructor |
|
addFilters ( mixed $filter ) |
Add a filter to the context |
|
fetch ( string $key ) : mixed |
Fetches the current key in all the scopes |
|
get ( $key ) : mixed |
Replaces [] |
|
hasKey ( string $key ) : boolean |
Returns true if the given key will properly resolve |
|
invoke ( string $name, mixed $value, array $args = null ) : string |
Invoke the filter that matches given name |
|
merge ( array $newAssigns ) |
Merges the given assigns into the current assigns |
|
pop ( ) : boolean |
Pops the current scope from the stack. |
|
push ( ) : boolean |
Push new local scope on the stack. |
|
resolve ( string $key ) : mixed |
Resolve a key by either returning the appropriate literal or by looking up the appropriate variable |
|
set ( string $key, mixed $value, boolean $global = false ) |
Replaces []= |
|
variable ( string $key ) : mixed |
Resolved the namespaced queries gracefully. |
|