Class Container

Description

Container manage the instanced and configured objects and add them to an array list.

Located in /ioc/container/Container.php (line 19)

ContainerCache
   |
   --Container
Method Summary
 Container __construct ()
 void addObject ( $key,  $value)
 void cacheContainer ()
 void &getObject ( $key)
Methods
Constructor __construct (line 23)
  • access: public
Container __construct ()

Redefinition of:
ContainerCache::__construct()
ContainerCache constructor
addObject (line 32)

Add object to array list

  • access: public
void addObject ( $key,  $value)
  • $key
  • $value
cacheContainer (line 59)

Cache container

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

Retrieve a configured object directly from the container

  • access: public
void &getObject ( $key)
  • $key

Inherited Methods

Inherited From ContainerCache

 ContainerCache::__construct()
 ContainerCache::cacheObject()
 ContainerCache::getObjectFromContainerCache()
 ContainerCache::isCached()
 ContainerCache::setCacheLifeTime()

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