$classLoader→addSuffix()
Map a class suffix to a path
This is used as a helper/fallback and class is not required to be in given path, but the path will be added as another to check when not found in namespace path(s).
Usage
$classLoader->addSuffix(string $suffix, string $path);Arguments
| Name | Type(s) | Description |
|---|---|---|
$suffix | string | Case sensitive suffix specific to class name (not namespace). |
$path | string |
$classLoader methods and properties
API reference based on ProcessWire core version 3.0.253