public function registerAutoload($basePath, $prefix = '', $relative = true)
    {
        $path = $relative ? $this->basePath . '/' . $basePath : $basePath;

        Autoloader::getInstance()->registerAutoload($path, $prefix);
    }
public function registerAutoload($basePath, $prefix = '', $relative = true)
    {
        $path = $relative ? $this->basePath . '/' . $basePath : $basePath;

        Autoloader::getInstance()->registerAutoload($path, $prefix);
    }
public function registerAutoload ( $ basePath , $ prefix = '' , $ relative = true ) { $ path = $ relative ? $ this -> basePath . '/' . $ basePath : $ basePath ; Autoloader :: getInstance ( ) -> registerAutoload ( $ path , $ prefix ) ; }
PSR-4 autoloader path register
@param string $basePath
@param string $prefix (optional), a namespace prefix
@param boolean $relative (optional, default : true), if false, will consider the basePath given as absolute.
PSR - 4 autoloader path register