The example in the previous section shows how to add paths to a plugin loader. What if you want to determine the paths already loaded, or remove one or more?
getPaths($prefix = null)returns all paths as prefix / path pairs if no$prefixis provided, or just the paths registered for a given prefix if a$prefixis present.clearPaths($prefix = null)will clear all registered paths by default, or only those associated with a given prefix, if the$prefixis provided and present in the stack.removePrefixPath($prefix, $path = null)allows you to selectively remove a specific path associated with a given prefix. If no$pathis provided, all paths for that prefix are removed. If a$pathis provided and exists for that prefix, only that path will be removed.




