PhpSandbox\PHPSandbox::dewhitelistClass PHP Méthode

dewhitelistClass() public méthode

You can pass a string of class name, or pass an array of the class names to remove from whitelist
public dewhitelistClass ( string | array $name )
$name string | array String of class name or array of class names to remove from whitelist
    public function dewhitelistClass($name)
    {
        if (func_num_args() > 1) {
            return $this->dewhitelistClass(func_get_args());
        }
        $name = $this->normalizeClass($name);
        return $this->dewhitelist('classes', $name);
    }
PHPSandbox