InputPath
class InputPath extends InputStream
A file given as a path to an actual file
Properties
| private | $handle | from InputStream | |
| private | $path | ||
| private | $name | ||
| private | $istemp |
Methods
__construct(string $path, string $name, bool $istemp)
No description
GetHandle()
Returns the file's stream resource
string
GetPath()
Returns the path to the input file
string
GetName()
Returns the name of the file to be used
bool
isTemp()
Returns true if the file is a temp file that can be moved
int
GetSize()
Returns the size of the file to be used
Details
at line 32
__construct(string $path, string $name, bool $istemp)
No description
at line 47
GetHandle()
Returns the file's stream resource
in
InputStream at line 15
string
GetData()
Returns the entire stream contents
at line 36
string
GetPath()
Returns the path to the input file
at line 39
string
GetName()
Returns the name of the file to be used
at line 42
bool
isTemp()
Returns true if the file is a temp file that can be moved
at line 45
int
GetSize()
Returns the size of the file to be used