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)); }
/** * 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))); }
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)); }
/** * 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))); }
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)); }