SplFileInfo
class SplFileInfo extends SplFileInfo
Extends \SplFileInfo to support relative paths.
Methods
__construct(string $file, string $relativePath, string $relativePathname)
Constructor.
string
getRelativePath()
Returns the relative path.
string
getRelativePathname()
Returns the relative path name.
string
getContents()
Returns the contents of the file.
Details
at line line 31
__construct(string $file, string $relativePath, string $relativePathname)
Constructor.
at line line 43
string
getRelativePath()
Returns the relative path.
at line line 53
string
getRelativePathname()
Returns the relative path name.
at line line 65
string
getContents()
Returns the contents of the file.