Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener
The ControllerListener class parses annotation blocks located in controller classes.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ControllerListener
implements
EventSubscriberInterface
{
- // members
- protected Reader $reader;
- // methods
- public void __construct()
- public void onKernelController()
- protected void getConfigurations()
- public static void getSubscribedEvents()
Hierarchy
Members
protected
- $reader — \Doctrine\Common\Annotations\Reader
Methods
protected
public
- __construct() — Constructor.
- getSubscribedEvents()
- onKernelController() — Modifies the Request object to apply configuration information found in controllers annotations like the template to render or HTTP caching configuration.