/** * Public constructor. Registers the autoloader with PHP. */ public function __construct() { self::$compojoomPath = realpath(__DIR__ . '/../'); spl_autoload_register(array($this, 'autoload_compojoom_library')); }