Documentation

fileOption

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

Methods

__construct()

Constructor

public __construct( $option : string ) : mixed
Parameters
$option : string
Return values
mixed

write()

Write content to file option

public write( $data : mixed ) : bool
Parameters
$data : mixed
Return values
bool

read()

Fetch data from file option

public read( ) : mixed
Return values
mixed

remove()

Remove file option

public remove( ) : bool
Return values
bool

getExt()

Return extension for cache file

protected getExt( ) : string
Return values
string

getType()

Return path type

protected getType( ) : string
Return values
string

Search results