PhpSandbox\PHPSandbox::dewhitelistVar PHP Method

dewhitelistVar() public method

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