src/mako/file/FileSystem.php
public static function append(string $file, $data, bool $lock = false)
	{
		return file_put_contents($file, $data, $lock ? FILE_APPEND | LOCK_EX : FILE_APPEND);
	}
public static function append(string $file, $data, bool $lock = false)
	{
		return file_put_contents($file, $data, $lock ? FILE_APPEND | LOCK_EX : FILE_APPEND);
	}
public static function append ( string $ file , $ data , bool $ lock = false ) { return file_put_contents ( $ file , $ data , $ lock ? FILE_APPEND | LOCK_EX : FILE_APPEND ) ; }
Appends the supplied data to a file.

@param  string   $file File path
@param  mixed    $data File data
@param  bool     $lock Acquire an exclusive write lock?
@return int|bool
Appends the supplied data to a file .