mini\Lifetime final enum

Documentation

Service lifetime for dependency injection container

Defines how long a service instance should be reused.

Inheritance

Implements: UnitEnum

Cases (3)

Singleton = NULL
Scoped = NULL
Transient = NULL

Properties (1)

public readonly string $name

Methods (1)

Documentation missing

Source

src/Lifetime.php:10-36