コード例 #1
0
ファイル: HandlerCallback.php プロジェクト: burdiuz/php-pap
 public function __construct(IHandler $handler)
 {
     parent::__construct();
     if ($handler) {
         $this->_handler = $handler;
     } else {
         throw new Exception('HandlerCallback Error: Requires IHandler instance specified.');
     }
 }
コード例 #2
0
ファイル: QueueCallback.php プロジェクト: burdiuz/php-pap
 public function __construct()
 {
     parent::__construct();
     $this->clean();
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
 public function __construct(IEventDispatcher $dispatcher = null)
 {
     parent::__construct();
     $this->_dispatcher = $dispatcher ? $dispatcher : EventDispatcher::create($this);
 }