diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Log/Writer/Mock.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Log/Writer/Mock.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,78 @@ +events[] = $event; + } + + /** + * Record shutdown + * + * @return void + */ + public function shutdown() + { + $this->shutdown = true; + } + + /** + * Create a new instance of Zend_Log_Writer_Mock + * + * @param array|Zend_Config $config + * @return Zend_Log_Writer_Mock + * @throws Zend_Log_Exception + */ + static public function factory($config) + { + return new self(); + } +}