Ejemplo n.º 1
0
 public function __construct($pageName, CmfService $service, PagesProvider $provider, Response $response, array $params)
 {
     parent::__construct(self::EVENT_NAME, array('pageName' => $pageName, 'service' => $service, 'provider' => $provider, 'response' => $response, 'parameters' => $params));
 }
Ejemplo n.º 2
0
Archivo: Event.php Proyecto: fwk/di
 /**
  * Constructor
  *
  * @param string    $name
  * @param array     $data
  * @param Container $container
  *
  * @return void
  */
 public function __construct($name, $data = array(), Container $container = null)
 {
     parent::__construct($name, array_merge($data, array('container' => $container, 'returnValue' => null)));
 }
Ejemplo n.º 3
0
 public function __construct($pageName, CmfService $service, PagesProvider $provider, array &$config, array &$params)
 {
     parent::__construct(self::EVENT_NAME, array('pageName' => $pageName, 'service' => $service, 'provider' => $provider, 'config' => $config, 'parameters' => $params));
 }
Ejemplo n.º 4
0
 public function __construct(ThreadInterface $thread, CommentInterface $comment)
 {
     parent::__construct(self::NAME, array('thread' => $thread, 'comment' => $comment));
 }
Ejemplo n.º 5
0
 /**
  * Constructor
  * 
  * @param type $name
  * @param type $data
  * @param Application $app
  * @param Context $context 
  * 
  * @return void
  */
 public function __construct($name, $data = array(), Application $app = null, Context $context = null)
 {
     parent::__construct($name, array_merge($data, array('application' => $app, 'context' => $context)));
 }
Ejemplo n.º 6
0
 public function __construct($name, Form $form, $data = array(), Element $element = null)
 {
     parent::__construct($name, $data);
     $this->form = $form;
     $this->element = $element;
 }
Ejemplo n.º 7
0
 public function __construct(CommentFormInterface $commentForm, CommentInterface $comment, ThreadInterface $thread, CommentsService $service)
 {
     parent::__construct(self::NAME, array('commentForm' => $commentForm, 'comment' => $comment, 'thread' => $thread, 'error' => null, 'service' => $service));
 }