Class Xyster_Container_Injection_Factory_Method

Description

Implements interfaces:

Creates constructor injection adapters

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

Located in /Container/Injection/Factory/Method.php (line 32)


	
			
Method Summary
Xyster_Container_Injection_Factory_Method __construct ([string $injectionMethodName = 'inject'])
Xyster_Container_Adapter createComponentAdapter (Xyster_Container_Monitor $monitor,  $properties, mixed $key, string $implementation, mixed $parameters)
Methods
Constructor __construct (line 41)

Creates a new method injection factory

  • access: public
Xyster_Container_Injection_Factory_Method __construct ([string $injectionMethodName = 'inject'])
  • string $injectionMethodName: the name of the injection method
createComponentAdapter (line 59)

Create a new constructor adapter

{@inherit}

  • return: The component adapter
  • throws: Exception if the creation of the component adapter fails
  • access: public
Xyster_Container_Adapter createComponentAdapter (Xyster_Container_Monitor $monitor,  $properties, mixed $key, string $implementation, mixed $parameters)
  • Xyster_Container_Monitor $monitor: the component monitor
  • Xyster_Collection_Map_Interface $properties: the component properties
  • mixed $key: the key to be associated with this adapter.
  • string $implementation
  • mixed $parameters

Implementation of:
Xyster_Container_Adapter_Factory::createComponentAdapter()
Create a new component adapter based on the specified arguments

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