mini\Util\PathsRegistry::addPath()
Method
public
Signature
public function addPath(string $path): void
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$path |
string |
required | Documentation missing |
Returns
void
Documentation
Add a fallback path
Fallback paths are prepended, so the most recently added fallback is checked before earlier fallbacks. Duplicate paths and paths matching the primary path are silently ignored.
Cache is cleared when a new path is added.