Beispiel #1
0
 /**
  * @param IPresenter $presenter
  * @param IEventBus $eventBus
  */
 public function __construct(IPresenter $presenter, IEventBus $eventBus)
 {
     parent::__construct();
     $this->presenter = $presenter;
     $this->eventBus = $eventBus;
 }
 /**
  * @param ITemplate $template
  * @param string|null $guid
  * @param IComponent $component
  */
 public function __construct(ITemplate $template, $guid = null, IComponent $component = null)
 {
     parent::__construct($guid, $component);
     $this->template = $template;
 }