Class Xyster_Container_Monitor_Log

Description

A monitor that writes out to a Zend_Log instance.

Tip: You can use a Zend_Log to write to the standard out stream

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Container/Monitor/Log.php (line 34)

Xyster_Container_Monitor_Abstract
   |
   --Xyster_Container_Monitor_Log
Method Summary
Xyster_Container_Monitor_Log __construct ( $log, [Xyster_Container_Monitor $delegate = null])
void instantiated (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter, [ $class = null], mixed $instantiated, [ $injected = null], float $duration)
void instantiating (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter, [ $class = null])
void instantiationFailed (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $class,  $cause)
void invocationFailed ( $member, mixed $instance,  $cause)
void invoked (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $method, mixed $instance, float $duration)
void invoking (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $member, mixed $instance)
mixed noComponentFound (Xyster_Container_Interface $container, mixed $key)
Methods
Constructor __construct (line 47)

Creates a new delegating monitor

  • access: public
Xyster_Container_Monitor_Log __construct ( $log, [Xyster_Container_Monitor $delegate = null])

Redefinition of:
Xyster_Container_Monitor_Abstract::__construct()
Creates a new delegating monitor
instantiated (line 77)

Event thrown after the component has been instantiated using the given constructor.

This should be called for both Constructor and Setter DI.

  • access: public
void instantiated (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter, [ $class = null], mixed $instantiated, [ $injected = null], float $duration)
  • Xyster_Container_Interface $container
  • Xyster_Container_Adapter $adapter
  • Xyster_Type $class: the class being instantiated
  • mixed $instantiated: the component that was instantiated
  • array $injected: the components during instantiation
  • float $duration: the duration in millis of the instantiation

Redefinition of:
Xyster_Container_Monitor_Abstract::instantiated()
Event thrown after the component has been instantiated using the given constructor.
instantiating (line 60)

Event thrown as the component is being instantiated using the given constructor

  • access: public
void instantiating (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter, [ $class = null])

Redefinition of:
Xyster_Container_Monitor_Abstract::instantiating()
Event thrown as the component is being instantiated using the given constructor
instantiationFailed (line 91)

Event thrown if the component instantiation failed using the given constructor

  • access: public
void instantiationFailed (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $class,  $cause)

Redefinition of:
Xyster_Container_Monitor_Abstract::instantiationFailed()
Event thrown if the component instantiation failed using the given constructor
invocationFailed (line 133)

Event thrown if the component method invocation failed on the given instance

  • access: public
void invocationFailed ( $member, mixed $instance,  $cause)
  • ReflectionMethod $member
  • mixed $instance: the component instance
  • Exception $cause: the Exception detailing the cause of the failure

Redefinition of:
Xyster_Container_Monitor_Abstract::invocationFailed()
Event thrown if the component method invocation failed on the given instance
invoked (line 120)

Event thrown after the component method has been invoked on the given instance

  • access: public
void invoked (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $method, mixed $instance, float $duration)

Redefinition of:
Xyster_Container_Monitor_Abstract::invoked()
Event thrown after the component method has been invoked on the given instance
invoking (line 105)

Event thrown as the component method is being invoked on the given instance

  • access: public
void invoking (Xyster_Container_Interface $container, Xyster_Container_Adapter $adapter,  $member, mixed $instance)

Redefinition of:
Xyster_Container_Monitor_Abstract::invoking()
Event thrown as the component method is being invoked on the given instance
noComponentFound (line 145)
  • access: public
mixed noComponentFound (Xyster_Container_Interface $container, mixed $key)

Redefinition of:
Xyster_Container_Monitor_Abstract::noComponentFound()

Inherited Methods

Inherited From Xyster_Container_Monitor_Abstract

Xyster_Container_Monitor_Abstract::__construct()
Xyster_Container_Monitor_Abstract::changeMonitor()
Xyster_Container_Monitor_Abstract::currentMonitor()
Xyster_Container_Monitor_Abstract::instantiated()
Xyster_Container_Monitor_Abstract::instantiating()
Xyster_Container_Monitor_Abstract::instantiationFailed()
Xyster_Container_Monitor_Abstract::invocationFailed()
Xyster_Container_Monitor_Abstract::invoked()
Xyster_Container_Monitor_Abstract::invoking()
Xyster_Container_Monitor_Abstract::noComponentFound()
Xyster_Container_Monitor_Abstract::parmsToString()
Class Constants

Documentation generated on Mon, 19 May 2008 17:08:24 -0400 by phpDocumentor 1.4.2