* * 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:----N3Hh9nsUwNHZBDI6kOpNIm3u7bKE3GQyjJI/3HY9r3LNGuM24UsVt7GnLwi6bO08BikFj2+DKqPHcpwX3xkWs740mALmcnxx5nFB/1fzuhA+6/jDPZ4oPWqul+ara3jqKk73j9EzsyKJz5IYJJ9xhoZD4z4aqfHQUHF6Eg7n1Co+CNxhFUnBHR8i3k0UlJQMesxck1xdj+mCSx6/kYdZX80kDrlZQyanbOQ2+FuM6W+9sAq/2itaw6BdVUIKJOHobFq+u5qyPf3wXNbqnFRhgge4aizXnXgznP8cup8FPv1b5mN0S6Dd7VTiksSTZ1EkFh48fX4IsVEcFOXsInwScKk4Ay4sOVHczUSC9iMOqSRhBVaH5IkEzH7aPMcrz7le/8bwwPs1PKsYCE5JYqKqs6iHON96GNX8DbO7mOkKaQMeATebQqXPa+3oHZXek4XFAj3ei7A8FCMDGas93SMfTiZ0q5dIdXM/yS/d+AvA8mgQ898J9vUrfvcR7YOPv9xnbl3mHno0KdCZLt42QwPOQXGOHzg8BjvZe03q9AR776l06bg9OsTsoWJe/hCHkG4yJ5A7LcGZMmlRA11rZzH3Q4uyQADdYyx9sDRkU42/xQxBnEPif8Lx+b/0yKBrhq0+ab30prENiu4Nsst35sVDqINwlQZpFJg1KNhPx+h39j0=----ATTACHMENT:----ODM0MjMzMDIyMzM5MzUwMCAzNDYxMzYyMzUzMDQ5NTQ0IDQxMzIzMzU1NjMwMjY3NA==