Documentation

File
in package

Table of Contents

Properties

$cache  : array<string|int, mixed>

Methods

create()  : bool
directory()  : string
extension()  : string
filename()  : string
isReadable()  : bool
isWriteable()  : bool
move()  : bool
name()  : string
parse()  : null|array<string|int, mixed>
parseList()  : array<string|int, mixed>
read()  : null|string
removeExtension()  : string
write()  : bool
writeAppend()  : bool

Properties

$cache

private array<string|int, mixed> $cache = []

Methods

create()

public static create(string $fullFilePath) : bool
Parameters
$fullFilePath : string
Return values
bool

directory()

public static directory(string $fullFilePath) : string
Parameters
$fullFilePath : string
Return values
string

extension()

public static extension(string $fullFilePath) : string
Parameters
$fullFilePath : string
Return values
string

filename()

public static filename(string $fullFilePath) : string
Parameters
$fullFilePath : string
Return values
string

isReadable()

public static isReadable(string $fullFilePath) : bool
Parameters
$fullFilePath : string
Return values
bool

isWriteable()

public static isWriteable(string $fullFilePath) : bool
Parameters
$fullFilePath : string
Return values
bool

move()

public static move(string $from, string $to) : bool
Parameters
$from : string
$to : string
Return values
bool

name()

public static name(string $fullFilePath) : string
Parameters
$fullFilePath : string
Return values
string

parse()

public static parse(string $fullFilePath[, bool $useCache = false ]) : null|array<string|int, mixed>
Parameters
$fullFilePath : string
$useCache : bool = false
Return values
null|array<string|int, mixed>

parseList()

public static parseList(array<string|int, mixed> $fileList[, bool $useCache = false ]) : array<string|int, mixed>
Parameters
$fileList : array<string|int, mixed>
$useCache : bool = false
Return values
array<string|int, mixed>

read()

public static read(string $fullFilePath) : null|string
Parameters
$fullFilePath : string
Return values
null|string

removeExtension()

public static removeExtension(string $name) : string
Parameters
$name : string
Return values
string

write()

public static write(string $fullFilePath, mixed $data[, int $flags = LOCK_EX ]) : bool
Parameters
$fullFilePath : string
$data : mixed
$flags : int = LOCK_EX
Return values
bool

writeAppend()

public static writeAppend(string $fullFilePath, mixed $data) : bool
Parameters
$fullFilePath : string
$data : mixed
Return values
bool

        
On this page

Search results