Networking\InitCmsBundle\Controller\FrontendPageController::getAdminPool PHP 메소드

getAdminPool() 보호된 메소드

protected getAdminPool ( ) : boolean | Sonata\AdminBundle\Admin\Pool
리턴 boolean | Sonata\AdminBundle\Admin\Pool
    protected function getAdminPool()
    {
        if ($this->get('security.token_storage')->getToken() && $this->get('security.authorization_checker')->isGranted('ROLE_SONATA_ADMIN')) {
            return $this->get('sonata.admin.pool');
        }
        return false;
    }