Esempio 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));
 }
Esempio n. 2
0
File: Event.php Progetto: 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)));
 }
Esempio 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));
 }
 public function __construct(ThreadInterface $thread, CommentInterface $comment)
 {
     parent::__construct(self::NAME, array('thread' => $thread, 'comment' => $comment));
 }
Esempio 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)));
 }
Esempio n. 6
0
 public function __construct($name, Form $form, $data = array(), Element $element = null)
 {
     parent::__construct($name, $data);
     $this->form = $form;
     $this->element = $element;
 }
 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));
 }