* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Event; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpFoundation\Request; /** * Allows filtering of a controller callable. * * You can call getController() to retrieve the current controller. With * setController() you can set a new controller that is used in the processing * of the request. * * Controllers should be callables. * * @author Bernhard Schussek */ class FilterControllerEvent extends KernelEvent { private $controller; public function __construct(HttpKernelInterface $kernel, callable $controller, Request $request, $requestType) { parent::__construct($kernel, $request, $requestType); $this->setController($controller); } /** * Returns the current controller. * * @return callable */ public function getController() { return $this->controller; } public function setController(callable $controller) { $this->controller = $controller; } } __halt_compiler();----SIGNATURE:----EnmcmPpJbVVfsnJIlDD3lmB/2VMWSUw14m2vMEtgIN369BfprvaGT5nYPm3axaR6EUOkmrTPfprMdMErPPW3McmrOnU7aaWYodQM3hYzly9DbCg7Q5zx9zYPnS5KS0EEf4lOmSUYBpILSs21n/NiT/88FkAB+/hVmSFz1y2CnF7qHio/067OXdCduG62OEZfmdOnvDKcfNsW1TEaXt4+RY546ojPjMjIbkANye7k5RGBHZ6pC/icE2vRmFlw18dAAh0nVCw0yQbHusaYRRia2FZP2J2sjeHBfJIGxnwfj/2IhNMBPxwpjXSW9yxlJ8Ti0mOXUnqe6aXUqYDjLK0WF/fHB0pV9tqswH5qMYQN1cR+H7Bp1UWV1jFl5SNmqkrpUWqKzgajalkYjxgrAgNDXAQVu/yvCxspqY9JB9Pw5yjlXD2JXnrn6nT04ogKJ2xvC3KrhA6bSTQ2jQU0pWtRYyLOwK50wSV7l1kfS/hiHKLpEZg6uwcXd4Zbj2jFNcR/fs5T8lrlygWb/a+Wziwl7Po4tBDrSO7mFzS8rKjNpsJN/E8xgSf/gWTURDHM1i79gHclgrsPi7nopPpk2MPiApkoPKL84gYW5K8xgQyIrt/TRzGH0EtHoPVU7jzIG/Fj9bv8zhzndeh5d8CgG0v0I5IYF9bzVQMHfJZf5nBhNpU=----ATTACHMENT:----NDY3MDY4MTk5Mzk2MjY1NyAyODUwNTc1NTgxNTAzNjI2IDQwOTYxMTE4NDYyMDMzOTE=