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 / Formatter / FormatterInterface.php
blobfc46feeda5a9ee1107f6506c70ad125a3aa66999
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\Formatter;
12 interface FormatterInterface
14 /**
15 * Default format specifier for DateTime objects is ISO 8601
17 * @see http://php.net/manual/en/function.date.php
19 const DEFAULT_DATETIME_FORMAT = 'c';
21 /**
22 * Formats data into a single line to be written by the writer.
24 * @param array $event event data
25 * @return string formatted line to write to the log
27 public function format($event);
29 /**
30 * Get the format specifier for DateTime objects
32 * @return string
34 public function getDateTimeFormat();
36 /**
37 * Set the format specifier for DateTime objects
39 * @see http://php.net/manual/en/function.date.php
40 * @param string $dateTimeFormat DateTime format
41 * @return FormatterInterface
43 public function setDateTimeFormat($dateTimeFormat);