public function onKernelController(FilterControllerEvent $event)
    {
        $request = $event->getRequest();
        $route   = $this->routes->get($request->attributes->get('_route'));

        if ($route && $route->hasContent()) {
            $this->populateContent($route, $request);
        }
    }
public function onKernelController(FilterControllerEvent $event)
    {
        $request = $event->getRequest();
        $route   = $this->routes->get($request->attributes->get('_route'));

        if ($route && $route->hasContent()) {
            $this->populateContent($route, $request);
        }
    }
public function onKernelController ( FilterControllerEvent $ event ) { $ request = $ event -> getRequest ( ) ; $ route = $ this -> routes -> get ( $ request -> attributes -> get ( '_route' ) ) ; if ( $ route && $ route -> hasContent ( ) ) { $ this -> populateContent ( $ route , $ request ) ; } }
Handler Kernel Controller events

@param FilterControllerEvent $event
Handler Kernel Controller events