Class Factory

Description

Factory instance the defined objects from the xml file.

Located in /ioc/factory/Factory.php (line 18)

PropertyChecker
   |
   --ClassChecker
      |
      --Factory
Direct descendents
Class Description
 class ArrayConfigurationReader ArrayConfigurationReader
 class XmlConfigurationReader XmlConfigurationReader reads the xml file.
Method Summary
 Factory __construct ()
 void addObjectToContainer ( $object)
 void cacheContainer ()
 void getObject ( $key)
 void instanceContainer ( $container)
Methods
Constructor __construct (line 21)
  • access: public
Factory __construct ()

Redefinition of:
ClassChecker::__construct()

Redefined in descendants as:
addObjectToContainer (line 39)

Instance object and start adding to container

  • access: public
void addObjectToContainer ( $object)
  • $object
cacheContainer (line 185)

Start to cache the container

  • access: public
void cacheContainer ()
getObject (line 194)

Return a configured object retrieved from the container

  • access: public
void getObject ( $key)
  • $key
instanceContainer (line 30)

Instance a container object

  • access: public
void instanceContainer ( $container)
  • $container
isContainerCached (line 167)

Determine if there is an already objects container loaded in cache

  • access: public
void isContainerCached ()

Inherited Methods

Inherited From ClassChecker

 ClassChecker::__construct()
 ClassChecker::getClassName()
 ClassChecker::isCorrectClass()

Inherited From PropertyChecker

 PropertyChecker::__construct()
 PropertyChecker::propertyCheck()
 PropertyChecker::propertyFormat()

Documentation generated on Fri, 09 Sep 2011 22:05:59 +0000 by phpDocumentor 1.4.3