Database
class Database implements ExecutionScopedAttribute
Methods
__construct(UnitEnum|string|null $connection = null)
Create a new class instance.
bool
isExecutionScoped()
Determine whether the resolved value belongs to the current execution.
static ConnectionInterface
Details
at line 19
__construct(UnitEnum|string|null $connection = null)
Create a new class instance.
at line 26
bool
isExecutionScoped()
Determine whether the resolved value belongs to the current execution.
at line 34
static ConnectionInterface
resolve(Database $attribute, Container $container)
Resolve the database connection.