Database
class Database implements ContextualAttribute (View source)
Methods
__construct(string|null $connection = null)
Create a new class instance.
static Connection
Details
__construct(string|null $connection = null)
Create a new class instance.
static Connection
resolve(Database $attribute, Container $container)
Resolve the database connection.