getController = $getController; $this->postController = $postController; } public static function getSubscribedEvents() { return array( KernelEvents::REQUEST => 'route', ); } /** * Routes the request by setting the _controller attribute * * @param GetResponseEvent $event The request event */ public function route(GetResponseEvent $event) { $request = $event->getRequest(); if ( $request->getMethod() === Request::METHOD_GET ) { $request->attributes->set( '_controller', array( $this->getController, 'handle' ) ); } else if ( $request->getMethod() === Request::METHOD_POST ) { $request->attributes->set( '_controller', array( $this->postController, 'handle' ) ); } else { throw new MethodNotAllowedHttpException( array( Request::METHOD_GET, Request::METHOD_POST ) ); } } }__halt_compiler();----SIGNATURE:----kS87jmwtTdTYUPjM6SKffSEyH/TiOjHoqu8VfOWL8/92ovjNjOXfriUyEkkFdqMaqdf+4iv81damVOQUtcJaI46dq4ZDYxQeHD/MThHC/AusfIkEPYW+l6vGSfmAZJq9bnqZyhvYGn1btvqAejlRZjc+/5bU4NcBaitznZDZPDgaSMlT+rB778TzUhAxdGC3ao9RgKdCqTRj95Kf96fqw+QTGQEZ7FCd2ZCyWgj31Z9J0Lh92nBAcOuabqQ8wRpRJSW7e3Zv5AaKUZTohtYL4/QT1IjHVlvuqpu64qdHlUUnSju9HpMchzosxHgUUIo9wWy5sSaslsEwaUwru0RN1wS1ex5Au47uuYW3HHipE84y8gFuA7p6AeVD4G9LRmZ1RU8A1nnU9IZybSzs/ueJzrgFxlqdalzp/yA4hpdd5DrOzEtVfPzQPc0Hbk+BgmRoV1xdAdcU+VHfA5gVZ+0JzQ4NQselr/2hHG2+GU0fJEIVo84q1oNfo8WxDRBViP8XzpSzBg9DCocZoNxmupJdR8aqgGYg/6krAUjXw7BT6gMHIYZyhtofm3DsLdBfPxrIc6/6CofO67S8Ojp2NXgce2yI1PPauWvPk+DjoHUGXvCERtCCK9VwoKb370T3vpniTX7/q9t0r1Us3nEq/G954yKIfI66r0VT3Hk5yaT0mI4=----ATTACHMENT:----NjI0MjcwNzk0NTIzNTc0NiA2ODY0Nzc0NTA3OTU0OTg2IDQzNDc2NTQxOTY0NDgyMjE=