ResettableContainerInterface

ResettableContainerInterface

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 $invalidBe