__construct() __construct(string $nsPrefix = null, string $baseDir = null, string $fileExt = '.php') constructor Parameters string $nsPrefix (optional) string $baseDir (optional) string $fileExt (optional) default='.php'
setBaseDir() setBaseDir(string $baseDir) Sets the base include path for all class files in the namespace of this class loader. Parameters string $baseDir
getBaseDir() getBaseDir() : string Gets the base include path for all class files in the namespace of this class loader. Returns string — $baseDir
setFileExtension() setFileExtension(string $fileExt) Sets the file extension of class files in the namespace of this class loader. Parameters string $fileExt
getFileExtension() getFileExtension() : string Gets the file extension of class files in the namespace of this class loader. Returns string — $fileExtension
loadClass() loadClass(string $className) : void Loads the given class or interface. Parameters string $className The name of the class to load.