$_includeFileCache
$_includeFileCache : string
Class map cache file
Generic plugin class loader
addPrefixPath(string $prefix, string $path) : \Zend_Loader_PluginLoader
Add prefixed paths to the registry of paths
string | $prefix | |
string | $path |
removePrefixPath(string $prefix, string $path = null) : \Zend_Loader_PluginLoader
Remove a prefix (or prefixed-path) from the registry
string | $prefix | |
string | $path | OPTIONAL |
isLoaded(string $name) : \Zend_Loader_PluginLoader
Whether or not a Plugin by a specific name is loaded
string | $name |
load(string $name, boolean $throwExceptions = true) : string|false
Load a plugin via the name provided
string | $name | |
boolean | $throwExceptions | Whether or not to throw exceptions if the class is not resolved |
if class not found
Class name of loaded class; false if $throwExceptions if false and no class found
setIncludeFileCache(string $file) : void
Set path to class file cache
Specify a path to a file that will add include_once statements for each plugin class loaded. This is an opt-in feature for performance purposes.
string | $file |
if file is not writeable or path does not exist