PHP Trait Contao\CoreBundle\Framework\ScopeAwareTrait

Inheritance: use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Mostra file Open project: contao/core-bundle

Protected Methods

Method Description
isBackendMasterRequest ( KernelEvent $event ) : boolean Checks whether the request is a Contao back end master request.
isBackendScope ( ) : boolean Checks whether the request is a Contao back end request.
isContaoMasterRequest ( KernelEvent $event ) : boolean Checks whether the request is a Contao the master request.
isContaoScope ( ) : boolean Checks whether the request is a Contao request.
isFrontendMasterRequest ( KernelEvent $event ) : boolean Checks whether the request is a Contao front end master request.
isFrontendScope ( ) : boolean Checks whether the request is a Contao front end request.

Private Methods

Method Description
isScope ( string $scope ) : boolean Checks whether the _scope attributes matches a scope.

Method Details

isBackendMasterRequest() protected method

Checks whether the request is a Contao back end master request.
protected isBackendMasterRequest ( KernelEvent $event ) : boolean
$event Symfony\Component\HttpKernel\Event\KernelEvent
return boolean

isBackendScope() protected method

Checks whether the request is a Contao back end request.
protected isBackendScope ( ) : boolean
return boolean

isContaoMasterRequest() protected method

Checks whether the request is a Contao the master request.
protected isContaoMasterRequest ( KernelEvent $event ) : boolean
$event Symfony\Component\HttpKernel\Event\KernelEvent
return boolean

isContaoScope() protected method

Checks whether the request is a Contao request.
protected isContaoScope ( ) : boolean
return boolean

isFrontendMasterRequest() protected method

Checks whether the request is a Contao front end master request.
protected isFrontendMasterRequest ( KernelEvent $event ) : boolean
$event Symfony\Component\HttpKernel\Event\KernelEvent
return boolean

isFrontendScope() protected method

Checks whether the request is a Contao front end request.
protected isFrontendScope ( ) : boolean
return boolean