Temporary
class Temporary (View source)
Methods
void
__construct(string $lock_filename = 'php://temp')
Temporary Constructor
bool
isOpen()
Check if the streaming is open
void
open()
Open the streaming
void
lockFile(string $lock_filename)
Set the Lock file name
void
close()
Close the streaming
mixed
write(string $content)
Write content
string|null
read()
Read content of temp
void
__destruct()
Temporary destructor
Details
void
__construct(string $lock_filename = 'php://temp')
Temporary Constructor
bool
isOpen()
Check if the streaming is open
void
open()
Open the streaming
void
lockFile(string $lock_filename)
Set the Lock file name
void
close()
Close the streaming
mixed
write(string $content)
Write content
string|null
read()
Read content of temp
void
__destruct()
Temporary destructor