Dependency injection container interface
| package |
Kocuj\Di\Container |
|---|
add(\Kocuj\Di\Service\ServiceType $serviceType, string $id, string $source, array $arguments = array()) : \Kocuj\Di\Container\ContainerInterface
stringService identifier
stringService to create
arrayService arguments to inject into constructor
\Kocuj\Di\Container\ContainerInterfaceThis object
addShared(string $id, string $source, array $arguments = array()) : \Kocuj\Di\Container\ContainerInterface
stringService identifier
stringService to create
arrayService arguments to inject into constructor
\Kocuj\Di\Container\ContainerInterfaceThis object
addStandard(string $id, string $source, array $arguments = array()) : \Kocuj\Di\Container\ContainerInterface
stringService identifier
stringService to create
arrayService arguments to inject into constructor
\Kocuj\Di\Container\ContainerInterfaceThis object
checkType(string $id, \Kocuj\Di\Service\ServiceType $serviceType) : boolean
stringService identifier
booleanThis service has selected type (true) or not (false)
getType(string $id) : \Kocuj\Di\Service\ServiceType