public function __construct(IHandler $handler) { parent::__construct(); if ($handler) { $this->_handler = $handler; } else { throw new Exception('HandlerCallback Error: Requires IHandler instance specified.'); } }
public function __construct() { parent::__construct(); $this->clean(); }
public function __construct() { parent::__construct(); }
public function __construct(IEventDispatcher $dispatcher = null) { parent::__construct(); $this->_dispatcher = $dispatcher ? $dispatcher : EventDispatcher::create($this); }