ClassLoader Class Reference
Detailed Description
ClassLoader tries to load missing class definitions.
Definition at line 18 of file ClassLoader.php.
Public Member Functions | |
__construct ($baseDir) | |
load ($className) | |
Constructor & Destructor Documentation
◆ __construct()
__construct | ( | $baseDir | ) |
Constructor.
- Parameters
-
$baseDir Base directory from which namespaces will be resolved (usually WCMF_BASE)
Definition at line 27 of file ClassLoader.php.
Member Function Documentation
◆ load()
load | ( | $className | ) |
Load the given class definition.
- Parameters
-
$className The class name
Definition at line 40 of file ClassLoader.php.