original_string: protected function copyFileWithDirsCreating($src, $dest)
      {
          $dirPathOfDestFile = dirname($dest);
  
          if (! File::exists($dirPathOfDestFile)) {
              File::makeDirectory($dirPathOfDestFile, 0755, true);
          }
  
          if (! File::exists($dest)) {
              File::copy($src, $dest);
          }
      }
code: protected function copyFileWithDirsCreating($src, $dest)
      {
          $dirPathOfDestFile = dirname($dest);
  
          if (! File::exists($dirPathOfDestFile)) {
              File::makeDirectory($dirPathOfDestFile, 0755, true);
          }
  
          if (! File::exists($dest)) {
              File::copy($src, $dest);
          }
      }
code_tokens: protected function copyFileWithDirsCreating ( $ src , $ dest ) { $ dirPathOfDestFile = dirname ( $ dest ) ; if ( ! File :: exists ( $ dirPathOfDestFile ) ) { File :: makeDirectory ( $ dirPathOfDestFile , 0755 , true ) ; } if ( ! File :: exists ( $ dest ) ) { File :: copy ( $ src , $ dest ) ; } }
docstring: Copy source file to destination with needed directories creating.
  
  @param string $src
  @param string $dest
docstring_tokens: Copy source file to destination with needed directories creating .