PHP Class Newscoop\NewscoopBundle\EventListener\LocaleListener

Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$cacheService
$em

Méthodes publiques

Méthode Description
__construct ( CacheService $cacheService, EntityManager $em )
onRequest ( GetResponseEvent $event )
onResponse ( FilterResponseEvent $event )

Private Methods

Méthode Description
extractLocaleFromUri ( $requestUri )

Method Details

__construct() public méthode

public __construct ( CacheService $cacheService, EntityManager $em )
$cacheService Newscoop\Services\CacheService
$em Doctrine\ORM\EntityManager

onRequest() public méthode

public onRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent

onResponse() public méthode

public onResponse ( FilterResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterResponseEvent

Property Details

$cacheService protected_oe property

protected $cacheService

$em protected_oe property

protected $em