JLoader::discover
Method to discover classes of a given type in a given path.
Signature
public function discover(string
$classPrefix,
[string
$parentPath = true,
[boolean
$force = true,
[boolean
$recurse = false]]] )
Parameters
-
$classPrefix
- The class name prefix to use for discovery.
-
$parentPath
- Full path to the parent folder for the classes to discover.
-
$force
- True to overwrite the autoload path value for the class if it already exists.
-
$recurse
- Recurse through all child directories as well as the parent path.
Returns
- void