class File

Properties

protectedstring $path File path.
protectedresource $handle File handle.

Methods

static CsvFile
makeTmp()

Creates a new temporary file.

__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.

Details

at line29
staticCsvFile makeTmp()

Creates a new temporary file.

Return Value

CsvFile

at line39
__construct(string$path =null)

Create a new file.

Parameters

string $path File path. If not set, a temporary file will be created.

at line50
__destruct()

at line58
delete()

Delete the file.

at line67
close()

Close the file.

at line81
string getPath()

Returns the path to the file.

Return Value

string