Methods summary
public static
|
#
createDir( $dir, $mode = 0777 )
Creates a directory.
Throws
|
public static
|
#
copy( $source, $dest, $overwrite = true )
Copies a file or directory.
Copies a file or directory.
Throws
|
public static
|
#
delete( $path )
Deletes a file or directory.
Deletes a file or directory.
Throws
|
public static
|
#
rename( $name, $newName, $overwrite = true )
Renames a file or directory.
Renames a file or directory.
Throws
|
public static
string
|
#
read( $file )
Reads file content.
Returns
string string
Throws
|
public static
|
#
write( $file, $content, $mode = 0666 )
Writes a string to a file.
Writes a string to a file.
Throws
|
public static
boolean
|
#
isAbsolute( $path )
Is path absolute?
Returns
boolean bool
|