original_string: public function putIfNotExists($file, $contents)
      {
          if (!$this->filesystem->exists($file)) {
              return $this->filesystem->put($file, $contents);
          }
  
          return $this->fileService->get($file);
      }
code: public function putIfNotExists($file, $contents)
      {
          if (!$this->filesystem->exists($file)) {
              return $this->filesystem->put($file, $contents);
          }
  
          return $this->fileService->get($file);
      }
code_tokens: public function putIfNotExists ( $ file , $ contents ) { if ( ! $ this -> filesystem -> exists ( $ file ) ) { return $ this -> filesystem -> put ( $ file , $ contents ) ; } return $ this -> fileService -> get ( $ file ) ; }
docstring: Make a file if it doesnt exist.
  
  @param  string $file
  @param  mixed $contents
  
  @return void
docstring_tokens: Make a file if it doesnt exist .