PHP Class phprs\util\SaftyFileWriter

Author: caoym
Mostrar archivo Open project: caoym/phprs-restful

Public Methods

Method Description
write ( string $path, mixed $data, boolean $overwrite = true ) : boolean 写入文件

Method Details

write() public static method

写入文件
public static write ( string $path, mixed $data, boolean $overwrite = true ) : boolean
$path string 路径
$data mixed 写入的值
$overwrite boolean 是否覆盖已有文件
return boolean