* * 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:----NKPu4QkoPW1R3nxJJzvzU8QOEGZsDt3rd1NuQLBp4ZVgHFMZsnph/pyhhzc0qFhBe8FdX63X3CarANIEe7T3lp14GrGyS+tjWi7gUE/Y0eiNudsPhKNjcIeOORbZd29BMLXGCY6lDfm2hcdqzvMqDnNtu5zZvQqCYZK+sfOaMy2QzzoDwxhPUwSJVqK5CSN7wMY8KA8ctDXSIU2Yp1GKDqMLitfeElsMsEonk7ckjuw1k+dBhjUKWbFqzbJ0Ac1y3d4Fl27ev6Nlw8Flh9gT11MfyRduVjTBLV+GQnAzEXJ7NZLKNbqTtiJYzhA+0sukD8lGDPPzz8tcPvOUgGf6ucc5A38FGlTihjWAjK4XM8N4vOj4xQLXL5XCqdR2LugPYBI9y1KCqjQkZiN1K5t/Zgxd2aIsKdy/hiXFlUNw6UfgZQtBlvH8KUo6kz2/dZhaqPQwMBOCRXLnvAkKWaoIElmzwXAJDmR0FHnmc5o8+dYzvrvGMN6fhWdV1yTAuvwb2Lwfj8hAk6KDqIkAvX+upGCHYs1+Puvn5F+cw3F9TuraZB5LoJ6f5XM+z57reURTMVOgSdOP1KhWm3+yM/nKqwIeSODUIbSF0nNo6L1NhDScc8gJezvz5EA59zGxdym0P1UNg3KBAGDQR15MpJCb0MgVSu43dtqRXT0VDm2xHb4=----ATTACHMENT:----NjY2NDUwNTMyNDU3NTQzMCA4MTIyNDYxMDEzNDY2NyAzNzM1MDE4MDMyMjc4MTkw