Index
A
- ClassLoader::addBasePath() — Method in class ClassLoader
- Adds a PSR-0 compliant base path for searching classes.
- ClassLoader::addPrefixPath() — Method in class ClassLoader
- Adds a PSR-4 compliant prefix path for searching classes.
C
- CacheListClassLoader — Class in namespace Riimu\Kit\ClassLoader
- Provides a simple method of caching the list of class file locations.
- ClassFinder — Class in namespace Riimu\Kit\ClassLoader
- Provides method for searching class files in the file system.
- ClassLoader — Class in namespace Riimu\Kit\ClassLoader
- Class loader that supports both PSR-0 and PSR-4 autoloading standards.
F
- ClassFinder::findFile() — Method in class ClassFinder
- Attempts to find a file for the given class from given paths.
- ClassLoader::findFile() — Method in class ClassLoader
- Attempts to find a file for the given class using known paths.
- FileCacheClassLoader — Class in namespace Riimu\Kit\ClassLoader
- Provides a simplified PHP file storage for the class file path cache.
G
- ClassLoader::getBasePaths() — Method in class ClassLoader
- Returns all known base paths.
- ClassLoader::getPrefixPaths() — Method in class ClassLoader
- Returns all known prefix paths.
- FileCacheClassLoader::getCacheFile() — Method in class FileCacheClassLoader
- Returns the path to the cache file.
I
- ClassLoader::isRegistered() — Method in class ClassLoader
- Tells if this instance is currently registered as a class autoloader.
L
- CacheListClassLoader::loadClass() — Method in class CacheListClassLoader
- Loads the class by first checking if the file path is cached.
- CacheListClassLoader::loadFile() — Method in class CacheListClassLoader
- Loads the class from the given file and stores the path into cache.
- ClassLoader::loadClass() — Method in class ClassLoader
- Attempts to load the class using known class paths.
- ClassLoader::loadFile() — Method in class ClassLoader
- Includes the file and makes sure the class exists.
R
- ClassLoader::register() — Method in class ClassLoader
- Registers this instance as a class autoloader.
S
- CacheListClassLoader::setCacheHandler() — Method in class CacheListClassLoader
- Sets the callback used to store the cache.
- ClassFinder::setFileExtensions() — Method in class ClassFinder
- Sets list of dot included file extensions to use for finding files.
- ClassLoader::setVerbose() — Method in class ClassLoader
- Sets whether to return values and throw exceptions from loadClass.
- ClassLoader::setFileExtensions() — Method in class ClassLoader
- Sets list of dot included file extensions to use for finding files.
- FileCacheClassLoader::saveCacheFile() — Method in class FileCacheClassLoader
- Writes the cache file if changes were made.
- FileCacheClassLoader::storeCache() — Method in class FileCacheClassLoader
- Stores the cache to be saved at the end of the request.
U
- ClassLoader::unregister() — Method in class ClassLoader
- Unregisters this instance as a class autoloader.
- ClassLoader::useIncludePath() — Method in class ClassLoader
- Tells whether to use include_path as part of base paths.
V
- $ClassLoader — Property in class ClassLoader
_
- CacheListClassLoader::__construct() — Method in class CacheListClassLoader
- Creates a new CacheListClassLoader instance.
- ClassFinder::__construct() — Method in class ClassFinder
- Creates a new PathFinder instance.
- ClassLoader::__construct() — Method in class ClassLoader
- Creates a new ClassLoader instance.
- FileCacheClassLoader::__construct() — Method in class FileCacheClassLoader
- Creates new FileCacheClassLoader instance and loads the cache file.