interface service_loader_interface implements loader_interface

internal  
 

Contract for auto-discovery service loaders.

Implementations locate service classes and register them with the container including autowiring metadata.

Methods

void
load(ContainerInterface $container)

Execute the loading process.

Details

in loader_interface at line 38
void load(ContainerInterface $container)

Execute the loading process.

Scans directories, finds files, and registers definitions in the container.

Parameters

ContainerInterface $container

Target container instance

Return Value

void