SplFileInfo
class SplFileInfo extends SplFileInfo
Extends \SplFileInfo to support relative paths.
Methods
__construct(string $file, string $relativePath, string $relativePathname)
No description
string
getRelativePath()
Returns the relative path.
string
getRelativePathname()
Returns the relative path name.
string
getContents()
Returns the contents of the file.
Details
at line 29
__construct(string $file, string $relativePath, string $relativePathname)
at line 43
string
getRelativePath()
Returns the relative path.
This path does not contain the file name.
at line 55
string
getRelativePathname()
Returns the relative path name.
This path contains the file name.
at line 67
string
getContents()
Returns the contents of the file.