| 1 | <?php |
||
| 11 | class TemplateSubscriber implements EventSubscriberInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Twig_Environment |
||
| 15 | */ |
||
| 16 | protected $twig; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var ApplicationConfiguration |
||
| 20 | */ |
||
| 21 | protected $configuration; |
||
| 22 | |||
| 23 | public function __construct(Twig_Environment $twig, ApplicationConfiguration $configuration) |
||
| 28 | |||
| 29 | public static function getSubscribedEvents() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param KernelEvent $event |
||
| 38 | * |
||
| 39 | * @return null |
||
| 40 | */ |
||
| 41 | public function kernelView(KernelEvent $event) |
||
| 45 | } |
||
| 46 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.