README
Todo List
static Swift_DependencyContainer getInstance( )
Swift_DependencyContainer __construct( )
Use getInstance() instead.
Swift_DependencyContainer addConstructorLookup( string $lookup)
Swift_DependencyContainer addConstructorValue( mixed $value)
Swift_DependencyContainer asAliasOf( string $lookup)
Swift_DependencyContainer asNewInstanceOf( string $className)
register() must be called before this will work. Any arguments can be set with withDependencies(), addConstructorValue() or addConstructorLookup().
Swift_DependencyContainer asSharedInstanceOf( string $className)
register() must be called before this will work.
Swift_DependencyContainer asValue( mixed $value)
array createDependenciesFor( string $itemName)
boolean has( string $itemName)
array listItems( )
mixed lookup( string $itemName)
Swift_DependencyContainer register( string $itemName)
This method returns the current DependencyContainer instance because it requires the use of the fluid interface to set the specific details for the dependency.
Swift_DependencyContainer withDependencies( $lookups)
This method takes an array of lookup names.
[line 31]
[line 25]
[line 28]
[line 22]