class SplFileInfo extends SplFileInfo
Extends \SplFileInfo to support relative paths.
__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. |
Constructor.
Returns the relative path.
This path does not contain the file name.
Returns the relative path name.
This path contains the file name.
Returns the contents of the file.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Finder/SplFileInfo.html