Log/Writer/Mock.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Log
- subpackage
- Writer
- version
- $Id: Mock.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_Log_Writer_Mock
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Extends from
- Zend_Log_Writer_Abstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Log
- subpackage
- Writer
- version
- $Id: Mock.php 20096 2010-01-06 02:05:09Z bkarwin $
- Properties
- $events
- $shutdown
- Methods
- _write
- shutdown
- factory
Description
Properties
$events = 'array'
array of log events
Details
- visibility
- public
- default
- array
- final
- false
- static
- false
$shutdown = 'false'
shutdown called?
Details
- visibility
- public
- default
- false
- final
- false
- static
- false
Methods
_write(
array $event
)
:
void
Write a message to the log.
Arguments
- $event
- array
event data
Details
- visibility
- public
- final
- false
- static
- false
factory(
array|Zend_Config $config
)
:
Zend_Log_Writer_Mock
Create a new instance of Zend_Log_Writer_Mock
Arguments
- $config
- arrayZend_Config
Details
- visibility
- public
- final
- false
- static
- true
- throws
shutdown(
)
:
void
Record shutdown
Details
- visibility
- public
- final
- false
- static
- false