/** * Get the normalized path from a SplFileInfo object. * * @param \SplFileInfo $file * * @return string */ protected function getFilePath(\SplFileInfo $file) { $path = parent::getFilePath($file); if ($this->pathSeparator === '\\') { return str_replace($this->pathSeparator, '/', $path); } else { return $path; } }
protected function getFilePath(SplFileInfo $file) { return parent::getFilePath($file); // TODO: Change the autogenerated stub }