You are here

public function SplFileInfo::getRelativePath in Database Sanitize 7

Returns the relative path.

This path does not contain the file name.

Return value

string the relative path

Overrides SplFileInfo::getRelativePath

1 method overrides SplFileInfo::getRelativePath()
SplFileInfo::getRelativePath in vendor/symfony/finder/SplFileInfo.php
Returns the relative path.

File

vendor/symfony/finder/SplFileInfo.php, line 43

Class

SplFileInfo
Extends \SplFileInfo to support relative paths.

Namespace

Symfony\Component\Finder

Code

public function getRelativePath() {
  return $this->relativePath;
}