ComposerBackedRegistry
in package
implements
Registry
Composer backed registry intended for the discovery phase or live development.
This registry is caching between requests by design
Interfaces, Classes, Traits and Enums
- Registry
- Registry public interface
Table of Contents
- $container : Injector|ContainerInterface
- __construct() : mixed
- getContainer() : ContainerInterface
- Expose the DI Container instance internally used
- hasApplication() : bool
- Check if an application is present.
- listApplications() : iteratable<string|int, string>
- List the available applications disregarding their readiness
Properties
$container
private
Injector|ContainerInterface
$container
Methods
__construct()
public
__construct(Injector|ContainerInterface $container) : mixed
Parameters
- $container : Injector|ContainerInterface
Return values
mixed —getContainer()
Expose the DI Container instance internally used
public
getContainer() : ContainerInterface
Return values
ContainerInterface —hasApplication()
Check if an application is present.
public
hasApplication(string $application) : bool
Parameters
- $application : string
Return values
bool —listApplications()
List the available applications disregarding their readiness
public
listApplications() : iteratable<string|int, string>
This is supposed to be static during a normal operations cycle
Return values
iteratable<string|int, string> —The identifier strings used in the DI container