FilenameArray::replace()
Replace one file with another
Available since version 3.0.215.
Usage
$filenameArray->replace(string $oldFile, string $newFile);Arguments
| Name | Type(s) | Description |
|---|---|---|
$oldFile | string | |
$newFile | string |
Return value
$thisObject instance it was called from (method supports fluent interface).
FilenameArray methods and properties
API reference based on ProcessWire core version 3.0.252