eZ\Bundle\EzPublishRestBundle\EventListener\CsrfListener::isMethodSafe PHP Method

isMethodSafe() protected method

protected isMethodSafe ( string $method ) : boolean
$method string
return boolean
    protected function isMethodSafe($method)
    {
        return in_array($method, array('GET', 'HEAD', 'OPTIONS'));
    }