Interface for applications that configure and use a dependency injection container.
Experimental: Expect API changes in minor releases.
getContainer() ¶ public
Create a new container and register services.
register() services provided by both the application
and any plugins if the application has plugin support.
A populated container
services() ¶ public
Register services to the container
Registered services can have instances fetched out of the container
get(). Dependencies and parameters will be resolved based
on service definitions.
The container to add services to