mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
98e11cea5d
Added File::replace() Searches for a given text and replaces the text if found Renamed File::replace() to File::replaceText() Updated the replaceText() method to utilize File Locking Updated File::replaceText() 1. Method now checks if the lock is not identical to null 2. Since the method uses File::read() to get the contents of the file, there is no need for a temporary file. Removed the temporary file creation File::replaceText() update Opening file with r+ mode |
||
---|---|---|
.. | ||
CakeNumber.php | ||
CakeTime.php | ||
ClassRegistry.php | ||
Debugger.php | ||
File.php | ||
Folder.php | ||
Hash.php | ||
Inflector.php | ||
ObjectCollection.php | ||
Sanitize.php | ||
Security.php | ||
Set.php | ||
String.php | ||
Validation.php | ||
Xml.php |