PhpFunctionRegistry
MMO\client\scs · 1 symbol · generated 30 Sep 2026
PhpFunctionRegistry
PhpFunctionRegistry.php:16The php callables an scs source is allowed to invoke through php::name(...).
- Namespace
MMO\client\scs
Index
| contextual | ||
| functions | ||
| allow($name, $callable) | Authorize a php callable. | |
| allowContext($name, $callable) | Authorize a php callable that also receives the current EvaluationContext as its first argument. | |
| clear() | Forget every authorized function. | |
| get($name, $origin) | ||
| has($name) | ||
| isContextual($name) | ||
| names() | ||
| Normalize($name) static |
Properties2
contextual
- Type
- array
functions
- Type
- array
Methods8
allow($name, $callable)
PhpFunctionRegistry.php:27Authorize a php callable. The scs name may be given with or without its php:: namespace.
allowContext($name, $callable)
PhpFunctionRegistry.php:38Authorize a php callable that also receives the current EvaluationContext as its first argument.
clear()
PhpFunctionRegistry.php:66Forget every authorized function.
| returns | void |
get($name, $origin)
PhpFunctionRegistry.php:54has($name)
PhpFunctionRegistry.php:44isContextual($name)
PhpFunctionRegistry.php:46names()
PhpFunctionRegistry.php:63| returns | array | every authorized name |