File
class File
Properties
protected string | $path | File path. |
|
protected resource | $handle | File handle. |
Methods
__construct(string $path = null)
Create a new file.
__destruct()
No description
delete()
Delete the file.
close()
Close the file.
string
getPath()
Returns the path to the file.
int
put(string $content)
Add content to the file.
Details
at line 29
static CsvFile
makeTmp()
Creates a new temporary file.
at line 39
__construct(string $path = null)
Create a new file.
at line 50
__destruct()
No description
at line 58
delete()
Delete the file.
at line 67
close()
Close the file.
at line 83
string
getPath()
Returns the path to the file.
at line 94
int
put(string $content)
Add content to the file.