IntrospectableContainerInterface defines additional introspection functionality for containers, allowing logic to be implemented based on a Container's state.
@author Evan Villemez <evillemez@gmail.com>
Expanded class hierarchy of IntrospectableContainerInterface
All classes that implement IntrospectableContainerInterface
interface IntrospectableContainerInterface extends ContainerInterface {
/**
* Check for whether or not a service has been initialized.
*
* @param string $id
*
* @return Boolean true if the service has been initialized, false otherwise
*
*/
public function initialized($id);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerInterface:: |
public | function | Adds a scope to the container | 1 |
ContainerInterface:: |
public | function | Enters the given scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Gets a service. | 1 |
ContainerInterface:: |
public | function | Gets a parameter. | 1 |
ContainerInterface:: |
public | function | Returns true if the given service is defined. | 1 |
ContainerInterface:: |
public | function | Checks if a parameter exists. | 1 |
ContainerInterface:: |
public | function | Whether this container has the given scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Determines whether the given scope is currently active. | 1 |
ContainerInterface:: |
public | function | Leaves the current scope, and re-enters the parent scope | 1 |
ContainerInterface:: |
constant | |||
ContainerInterface:: |
constant | |||
ContainerInterface:: |
constant | |||
ContainerInterface:: |
public | function | Sets a service. | 1 |
ContainerInterface:: |
public | function | Sets a parameter. | 1 |
IntrospectableContainerInterface:: |
public | function | Check for whether or not a service has been initialized. | 1 |