PhpSandbox\PHPSandbox::hasWhitelistedTypes PHP Method

hasWhitelistedTypes() public method

Query whether PHPSandbox instance has whitelisted types.
public hasWhitelistedTypes ( ) : integer
return integer Returns the number of whitelisted types this instance has defined
    public function hasWhitelistedTypes()
    {
        return count($this->whitelist['types']);
    }
PHPSandbox