Index
A
- ApiServiceContainer — Class in namespace ServiceContainer
- A service container with constructors based on an API declaration and validation
- ApiServiceContainer::apiFactory() — Method in class ApiServiceContainer
- Usage:
B
- ServiceProviderInterface::boot() — Method in class ServiceProviderInterface
- Launch actions when the service is created
G
- ServiceContainer::getProvider() — Method in class ServiceContainer
- Get a service constructor if it exists
- ServiceContainer::getService() — Method in class ServiceContainer
- Get a service called
$name
throwing an error by default if it does not exist yet and can not be created - ServiceContainerInterface::getService() — Method in class ServiceContainerInterface
- Get a service called
$name
throwing an error by default if it does not exist yet and can not be created
H
- ServiceContainer::hasProvider() — Method in class ServiceContainer
- Test if a constructor exists for a service
- ServiceContainer::hasService() — Method in class ServiceContainer
- Test if a service exists in the container
- ServiceContainerInterface::hasService() — Method in class ServiceContainerInterface
- Test if a service exists in the container
I
- ServiceContainer::init() — Method in class ServiceContainer
- Initialize the service container system
- ServiceContainer::isProtected() — Method in class ServiceContainer
- Test if a service is protected
R
- ServiceProviderInterface::register() — Method in class ServiceProviderInterface
- Launch actions when the service is registered in the container
S
- ServiceContainer — Class in namespace ServiceContainer
- A simple service container with constructors
- ServiceContainer::setProvider() — Method in class ServiceContainer
- Define a service constructor like
array( name , callback , protected )
or a closure - ServiceContainer::setProtected() — Method in class ServiceContainer
- Define a service as protected
- ServiceContainer::setService() — Method in class ServiceContainer
- Register a new service called
$name
declared as NOT protected by default - ServiceContainerInterface — Class in namespace ServiceContainer
- A simple service container interface
- ServiceContainerInterface::setProvider() — Method in class ServiceContainerInterface
- Define a service constructor like
array( name , callback , protected )
or a closure - ServiceContainerInterface::setService() — Method in class ServiceContainerInterface
- Register a new service called
$name
declared as NOT protected by default - ServiceProviderInterface — Class in namespace ServiceContainer
- Interface ServiceProviderInterface
T
- ServiceProviderInterface::terminate() — Method in class ServiceProviderInterface
- Launch actions when the service is destructed
U
- ServiceContainer::unsetService() — Method in class ServiceContainer
- Unset a service if it is not protected
- ServiceContainerInterface::unsetService() — Method in class ServiceContainerInterface
- Unset a service if it is not protected