FilenameArray::replace()

Replace one file with another

Available since version 3.0.215.

Usage

$filenameArray->replace(string $oldFile, string $newFile);

Arguments

NameType(s)Description
$oldFilestring
$newFilestring

Return value

$this

Object instance it was called from (method supports fluent interface).


FilenameArray methods and properties

API reference based on ProcessWire core version 3.0.251