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