Scope::get()
Resolves a mapping from global context or functions during runtime
Scope::get()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
Scope::get(string $name, array $context = [ ], array $global = [ ], false|null $fallback = null): mixed
Parameters
Name | Type | Default |
---|---|---|
$namerequired | string |
no default value |
$context | array |
[ ]
|
$global | array |
[ ]
|
$fallback | false ornull |
null
|
Return type
mixed