コード例 #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
ファイル: Adapter.php プロジェクト: garrinar/laravel
 protected function getFilePath(SplFileInfo $file)
 {
     return parent::getFilePath($file);
     // TODO: Change the autogenerated stub
 }