コード例 #1
0
ファイル: BlazeEvent.php プロジェクト: robo47/BlazeFramework
 /**
  *
  * @param blaze\web\component\UIComponent $component
  */
 public function __construct(\blaze\web\component\UIComponent $component, $phaseId = null)
 {
     parent::__construct($component);
     if ($phaseId == null) {
         $phaseId = PhaseId::ANY_PHASE;
     }
     $this->phaseId = $phaseId;
 }
コード例 #2
0
ファイル: PhaseEvent.php プロジェクト: robo47/BlazeFramework
 /**
  *
  * @param blaze\web\application\BlazeContext $context
  * @param blaze\web\event\PhaseId $phaseId
  * @param blaze\web\application\Lifecycle $lifecycle
  */
 public function __construct(BlazeContext $context, $phaseId, Lifecycle $lifecycle)
 {
     parent::__construct($lifecycle);
     $this->context = $context;
     $this->phaseId = $phaseId;
 }