Method | Description | |
---|---|---|
getContents ( string $path ) : string | Read the contents of a file. | |
open ( string $path, string $mode ) : resource | Open a file. | |
putContents ( string $path, string $buffer ) : integer | Write a buffer to a file. |
public getContents ( string $path ) : string | ||
$path | string | The path of the file to read |
return | string | The file contents |