Bootable
- Full name:
\Qubus\Injector\ServiceProvider\Bootable
Methods
boot
Other services, extensions, callbacks, etc. that need to be loaded after the called provider is booted.
booting
Register a booting callback to be run before the "boot" method is called.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$callback | \Closure |
booted
Register a booted callback to be run after the "boot" method is called.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$callback | \Closure |
publishes
Register publishable paths for this provider.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$paths | array | [from => tag] |
$group | string|null | Optional tag/group name ("config", "migrations", etc.) |
pathsToPublish
Get all publishable paths for this provider.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$tag | string|null | Restrict to a tag (e.g. "config", "migrations") |
Return Value:
[from => tag]
callBootingCallbacks
Call the registered booting callbacks.
callBootedCallbacks
Call the registered booted callbacks.