You are here

public function RouterDataCollector::onKernelController in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/RouterDataCollector.php \Symfony\Component\HttpKernel\DataCollector\RouterDataCollector::onKernelController()

Remembers the controller associated to each request.

Parameters

FilterControllerEvent $event The filter controller event:

File

vendor/symfony/http-kernel/DataCollector/RouterDataCollector.php, line 66

Class

RouterDataCollector
RouterDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function onKernelController(FilterControllerEvent $event) {
  $this->controllers[$event
    ->getRequest()] = $event
    ->getController();
}