Property | Type | Description | |
---|---|---|---|
$whitelist | array |
Method | Description | |
---|---|---|
call ( string $method, array $arguments = [] ) : mixed | void | Call a method if in whitelist | |
getAndWrap ( string $path = null ) : |
Get a value by path and wrap it into another context | |
whitelist ( array | string $pathOrMethods ) : void | Whitelist the given method (or array of methods) for calls |
public getAndWrap ( string $path = null ) : |
||
$path | string | |
return | The wrapped value |