ProviderRegistry
FinalYes
Registry for configuration providers which is called by the ConfigurationProviderPass
Table of Contents
Properties
- $providers : array<string|int, ProviderInterface>
Methods
- getFirstProvider() : ProviderInterface|null
- getProvider() : ProviderInterface
- getProviders() : array<string|int, mixed>
- hasProvider() : bool
- registerProvider() : void
Properties
$providers
protected
array<string|int, ProviderInterface>
$providers
= []
Methods
getFirstProvider()
public
getFirstProvider() : ProviderInterface|null
Return values
ProviderInterface|nullgetProvider()
public
getProvider(string $identifier) : ProviderInterface
Parameters
- $identifier : string
Return values
ProviderInterfacegetProviders()
public
getProviders() : array<string|int, mixed>
Return values
array<string|int, mixed>hasProvider()
public
hasProvider(string $identifer) : bool
Parameters
- $identifer : string
Return values
boolregisterProvider()
public
registerProvider(ProviderInterface $provider, array<string|int, mixed> $attributes) : void
Parameters
- $provider : ProviderInterface
- $attributes : array<string|int, mixed>