extension_loader_interface
interface extension_loader_interface implements loader_interface
Contract for extension loaders.
Methods
void
load(ContainerInterface $container)
Load and execute all extension bootstrap files.
array
get_definitions()
Return all extension definitions discovered by the loader.
Details
at line 33
void
load(ContainerInterface $container)
Load and execute all extension bootstrap files.
This method is responsible for the "Physical Load":
- Include bootstrap.php to register container definitions.
at line 59
array
get_definitions()
Return all extension definitions discovered by the loader.
The returned array MUST be normalized:
[ [ 'class' => string FQCN implementing extension_interface, 'slug' => string identifier (directory name), 'group' => string grouping category, 'priority' => int load order, 'hidden' => bool ], ... ]