facade_loader
class facade_loader implements facade_loader_interface
| internal |
Facade Loader.
Scans the facade/ directories (Core and Extensions) to verify availability.
While Facades are static and autoloaded by Composer/Moodle, this loader can perform
warm-up tasks like checking if the service linked to the facade is active.
Constants
| private CACHE_AREA |
|
| private CACHE_KEY |
|
| private CORE_PATHS |
Map of core subdirectories to scan. |
Methods
__construct(string $project_root)
Constructor.
void
load(ContainerInterface $container)
Load facades.
array
get_definitions()
Discover facade classes.
Details
at line 54
__construct(string $project_root)
Constructor.
at line 64
void
load(ContainerInterface $container)
Load facades.
Since Facades are static, "loading" here mostly means discovery/validation.
at line 75
array
get_definitions()
Discover facade classes.