ClassLoader Class Reference

Detailed Description

ClassLoader tries to load missing class definitions.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 18 of file ClassLoader.php.

Public Member Functions

 __construct ($baseDir)
 
 load ($className)
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $baseDir)

Constructor.

Parameters
$baseDirBase 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
$classNameThe class name

Definition at line 40 of file ClassLoader.php.