eZ\Bundle\EzPublishRestBundle\EventListener\CsrfListener::isSessionRoute PHP 메소드

isSessionRoute() 보호된 메소드

Tests if a given $route is a session management one.
protected isSessionRoute ( string $route ) : boolean
$route string
리턴 boolean
    protected function isSessionRoute($route)
    {
        return in_array($route, ['ezpublish_rest_createSession', 'ezpublish_rest_refreshSession', 'ezpublish_rest_deleteSession']);
    }