예제 #1
0
 /**
  * @api
  */
 public function __construct(\Composer\Package\CompletePackage $pkgInstance = null)
 {
     parent::__construct();
     $this->packageInstance = $pkgInstance;
     if ($pkgInstance) {
         $this->composerPackageName = $pkgInstance->getName();
     }
     $this->type = Event\TYPE_BROADCAST_POST_ORDER;
 }
예제 #2
0
 public function __construct(Console $consoleApp, Container $cliArgsContainer = null)
 {
     parent::__construct();
     $this->type = Event\TYPE_BROADCAST_LEVEL_ORDER;
     $this->cliArgsContainer = $cliArgsContainer;
     $this->consoleApp = $consoleApp;
     $this->commandInstance = $consoleApp->getCommandInstance();
     $this->commandName = $this->commandInstance && $this->commandInstance->getName();
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->type = Event\TYPE_BROADCAST_LEVEL_ORDER;
     $this->singleResultFlag = true;
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->type = Event\TYPE_UNICAST_BIDIRECTIONAL;
     $this->setAutoTriggerEvent(Event\Type\Http\Response200::create());
 }