Exemple #1
0
 /**
  * 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;
     }
 }
Exemple #2
0
 protected function getFilePath(SplFileInfo $file)
 {
     return parent::getFilePath($file);
     // TODO: Change the autogenerated stub
 }