protected function setUp() { // initialize an app and a bootstrap $this->application = new Zend_Application('testing'); $this->bootstrap = new Zend_Application_Bootstrap_Bootstrap($this->application); // save static variables if (Zend_Translate_Adapter::hasCache()) { $this->cache = Zend_Translate_Adapter::getCache(); } }
/** * Returns the set cache * * @return Zend_Cache_Core The set cache */ public static function getCache() { return Zend_Translate_Adapter::getCache(); }