Documentation

FileObject
in package

Use custom FileObject to prevent "too many files open" error

Table of Contents

$fileObject  : mixed
$path  : mixed
__call()  : mixed
__construct()  : mixed
getBasename()  : string
getFilename()  : string
getPathName()  : string
getRealPath()  : string
getSize()  : int

Properties

Methods

__call()

public __call(mixed $method, mixed $args) : mixed
Parameters
$method : mixed
$args : mixed
Return values
mixed

__construct()

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

getBasename()

public getBasename([string|null $suffix = null ]) : string
Parameters
$suffix : string|null = null
Return values
string

getFilename()

public getFilename() : string
Return values
string

getPathName()

public getPathName() : string
Return values
string

getRealPath()

public getRealPath() : string
Return values
string

getSize()

public getSize() : int
Return values
int

Search results