PhpSandbox\PHPSandbox::dewhitelistType PHP Method

dewhitelistType() public method

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