예제 #1
0
 public function __construct(IHandler $handler)
 {
     parent::__construct();
     if ($handler) {
         $this->_handler = $handler;
     } else {
         throw new Exception('HandlerCallback Error: Requires IHandler instance specified.');
     }
 }
예제 #2
0
 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);
 }