Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Log / Filter / Mock.php
blob031fa2225bca3fd91a0511076f5fefb4ae07176c
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Log\Filter;
12 class Mock implements FilterInterface
14 /**
15 * array of log events
17 * @var array
19 public $events = array();
21 /**
22 * Returns TRUE to accept the message
24 * @param array $event event data
25 * @return bool
27 public function filter(array $event)
29 $this->events[] = $event;
30 return true;