interface ResettableContainerInterface implements ContainerInterface
ResettableContainerInterface defines additional resetting functionality for containers, allowing to release shared services when the container is not needed anymore.
Methods
set(string $id, object $service, string $scope = self::SCOPE_CONTAINER) Sets a service. from ContainerInterface object get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) Gets a service. from ContainerInterface bool