Ejemplo n.º 1
0
 public function __construct(Descriptor $descriptor, array $data = array(), Application $app = null, Context $context = null)
 {
     parent::__construct(self::EVENT_NAME, array_merge(array('descriptor' => $descriptor), $data), $app, $context);
 }
Ejemplo n.º 2
0
 public function __construct(Application $app = null, Context $context = null)
 {
     parent::__construct(AppEvents::END, array(), $app, $context);
 }
Ejemplo n.º 3
0
 public function __construct(UrlRewriterService $service, array $data = array(), Application $app = null, Context $context = null)
 {
     parent::__construct(self::EVENT_NAME, array_merge(array('service' => $service), $data), $app, $context);
 }
Ejemplo n.º 4
0
 public function __construct(ActionProxy $actionProxy, Application $app = null, Context $context = null)
 {
     parent::__construct(AppEvents::AFTER_ACTION, array('actionProxy' => $actionProxy), $app, $context);
 }
Ejemplo n.º 5
0
 /**
  * Constructor
  * 
  * @param \Exception  $exception
  * @param Application $app
  * @param Context     $context 
  * 
  * @return void
  */
 public function __construct(\Exception $exception, Application $app, Context $context = null)
 {
     parent::__construct(AppEvents::ERROR, array('exception' => $exception), $app, $context);
 }
Ejemplo n.º 6
0
 public function __construct(Request $request, Application $app = null, Context $context = null)
 {
     parent::__construct(AppEvents::REQUEST, array('request' => $request), $app, $context);
 }
Ejemplo n.º 7
0
 /**
  * Constructor
  * 
  * @param Response    $response
  * @param Application $app
  * @param Context     $context 
  * 
  * @return void
  */
 public function __construct(Response $response, Application $app, Context $context = null)
 {
     parent::__construct(AppEvents::RESPONSE, array('response' => $response), $app, $context);
 }