PHP Class Newscoop\NewscoopBundle\EventListener\LocaleListener

Mostra file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$cacheService
$em

Public Methods

Method Description
__construct ( CacheService $cacheService, EntityManager $em )
onRequest ( GetResponseEvent $event )
onResponse ( FilterResponseEvent $event )

Private Methods

Method Description
extractLocaleFromUri ( $requestUri )

Method Details

__construct() public method

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

onRequest() public method

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

onResponse() public method

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

Property Details

$cacheService protected_oe property

protected $cacheService

$em protected_oe property

protected $em