class FileInfo extends SplFileInfo

Methods

__construct(string $file, string $relativePath)

No description

string
getRelativePath()

Returns the relative directory path.

string
getRelativePathname()

Returns the relative path including file name.

string
getContents()

Returns the contents of the file.

Details

at line 20
__construct(string $file, string $relativePath)

No description

Parameters

string $file
string $relativePath

at line 31
string getRelativePath()

Returns the relative directory path.

Return Value

string

at line 40
string getRelativePathname()

Returns the relative path including file name.

Return Value

string

at line 51
string getContents()

Returns the contents of the file.

Return Value

string

Exceptions

IOException