interface loader_interface

internal  
 

Base contract for kernel loaders that register definitions into the container.

Implementations discover classes and push their definitions into the DI container during the bootstrap phase.

Methods

void
load(ContainerInterface $container)

Execute the loading process.

Details

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