Manager
abstract class Manager (View source)
Properties
protected Container | $container | The container instance. |
|
protected Repository | $config | The configuration repository instance. |
|
protected array | $customCreators | The registered custom driver creators. |
|
protected array | $drivers | The array of created "drivers". |
Methods
string
getDefaultDriver()
Get the default driver name.
mixed
driver(string|null $driver = null)
Get a driver instance.
mixed
createDriver(string $driver)
Create a new driver instance.
mixed
callCustomCreator(string $driver)
Call a custom driver creator.
array
getDrivers()
Get all of the created "drivers".
getContainer()
Get the container instance used by the manager.
$this
$this
forgetDrivers()
Forget all of the resolved driver instances.
mixed
__call(string $method, array $parameters)
Dynamically call the default driver instance.