コード例 #1
0
 public function handleEvent($event, observable $observable)
 {
     if (parent::handleEvent($event, $observable) === false) {
         return false;
     }
     $this->observable = $observable;
     return true;
 }
コード例 #2
0
ファイル: cli.php プロジェクト: andrewolobo/mpTracker
 public function __construct()
 {
     parent::__construct();
     $this->setPrompt()->setSuccessColorizer()->setFailureColorizer();
 }
コード例 #3
0
ファイル: notifier.php プロジェクト: andrewolobo/mpTracker
 public function __construct(atoum\adapter $adapter = null)
 {
     parent::__construct();
     $this->setAdapter($adapter);
 }