ServiceProviderRegistry
in package
Class ServiceProviderRegistry
Tags
Table of Contents
- $cache : ServiceProviderRegistryCache
- $environment : Environment
- __construct() : mixed
- ServiceProviderRegistry constructor.
- getRegistry() : array<string|int, mixed>
- Returns the service provider registry.
- createRegistry() : array<string|int, mixed>
Properties
$cache
private
ServiceProviderRegistryCache
$cache
$environment
private
Environment
$environment
Methods
__construct()
ServiceProviderRegistry constructor.
public
__construct(ServiceProviderRegistryCache $cache, Environment $environment) : mixed
Parameters
- $cache : ServiceProviderRegistryCache
- $environment : Environment
Return values
mixed —getRegistry()
Returns the service provider registry.
public
getRegistry(ServiceProviderRegistryType $type) : array<string|int, mixed>
Parameters
- $type : ServiceProviderRegistryType
Return values
array<string|int, mixed> —createRegistry()
private
createRegistry(ServiceProviderRegistryType $type) : array<string|int, mixed>
Parameters
- $type : ServiceProviderRegistryType