MLabs\File::editContent
file editing
Signature
public function editContent(string
$filename,
string
$content,
string
$search,
[boolean
$replace = false] )
Parameters
$filename
— string$content
— string$search
— string$replace
— boolean- true if the given content should replace the $search string