Manager
class Manager (View source)
Properties
protected ProviderInterface[] | $providers | The keyed (by name) list of registered providers. |
|
protected PresetInterface[]|null | $presets | The list of loaded presets. |
Methods
reset()
Reset the list of loaded presets.
ProviderInterface|null
getByName(string $name)
Get a provider by its name.
getProviders()
Get the keyed (by name) list of registered providers.
PresetInterface[]|null
getPresets()
Get all the presets.
PresetInterface|null
getPresetByIdentifier(string $identifier)
Get a preset by its identifier.
Details
register(ProviderInterface $provider)
Register a provider.
reset()
Reset the list of loaded presets.
unregister(ProviderInterface|string $nameOrObject)
Unregister a provider.
ProviderInterface|null
getByName(string $name)
Get a provider by its name.
ProviderInterface[]
getProviders()
Get the keyed (by name) list of registered providers.
PresetInterface[]|null
getPresets()
Get all the presets.
PresetInterface|null
getPresetByIdentifier(string $identifier)
Get a preset by its identifier.