/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); // Loaded from tracker and tracker does not always have the request as source value if (!$this->request instanceof \Zend_Controller_Request_Abstract) { $this->request = \Zend_Controller_Front::getInstance()->getRequest(); } }
/** * * @param int $trackId The trackId for this dependency */ public function __construct($trackId) { $this->_trackId = $trackId; parent::__construct(); }