$sandbox
$sandbox : \PHPSandbox\PHPSandbox
The PHPSandbox instance to check against
SandboxWhitelister class for PHP Sandboxes.
This class takes parsed AST code and checks it against the passed PHPSandbox instance configuration to autmatically whitelist sandboxed code functions, classes, etc. if the appropriate settings are configured.
$sandbox : \PHPSandbox\PHPSandbox
The PHPSandbox instance to check against
__construct(\PHPSandbox\PHPSandbox $sandbox)
SandboxWhitelistVisitor class constructor
This constructor takes a passed PHPSandbox instance to check against for whitelisting sandboxed code.
\PHPSandbox\PHPSandbox | $sandbox | The PHPSandbox instance to check against |