示例#1
0
文件: Local.php 项目: aleksabp/bolt
 /**
  * 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;
     }
 }
示例#2
0
 protected function getFilePath(SplFileInfo $file)
 {
     return parent::getFilePath($file);
     // TODO: Change the autogenerated stub
 }