fileOption
in
File option objekt
Table of Contents
EXTENSION_CACHE | '.fpcm' | |
---|---|---|
$path | Complete file path | string |
__construct() | Constructor | mixed |
write() | Write content to file option | bool |
read() | Fetch data from file option | mixed |
remove() | Remove file option | bool |
getExt() | Return extension for cache file | string |
getType() | Return path type | string |
Constants
EXTENSION_CACHE
mixed
$EXTENSION_CACHE
= '.fpcm'
Properties
$path
Complete file path
private
string
$path
Methods
__construct()
Constructor
public
__construct(
$option :
string
)
: mixed
Parameters
- $option : string
Return values
mixedwrite()
Write content to file option
public
write(
$data :
mixed
)
: bool
Parameters
- $data : mixed
Return values
boolread()
Fetch data from file option
public
read(
)
: mixed
Return values
mixedremove()
Remove file option
public
remove(
)
: bool
Return values
boolgetExt()
Return extension for cache file
protected
getExt(
)
: string
Return values
stringgetType()
Return path type
protected
getType(
)
: string