You are here

public function SplFileInfo::__construct in Database Sanitize 7

Parameters

string $file The file name:

string $relativePath The relative path:

string $relativePathname The relative path name:

Overrides SplFileInfo::__construct

1 method overrides SplFileInfo::__construct()
SplFileInfo::__construct in vendor/symfony/finder/SplFileInfo.php

File

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

Class

SplFileInfo
Extends \SplFileInfo to support relative paths.

Namespace

Symfony\Component\Finder

Code

public function __construct($file, $relativePath, $relativePathname) {
  parent::__construct($file);
  $this->relativePath = $relativePath;
  $this->relativePathname = $relativePathname;
}