original_string: public function filePutContents($path, $content, $flags = 0)
      {
          if (! $this->isFile($path) && !$this->createFile($path))
              return false;
          if (($flags & FILE_APPEND) == FILE_APPEND)
              $this->at($path)->content .= $content;
          else
              $this->at($path)->content = $content;
          return true;
      }
code: public function filePutContents($path, $content, $flags = 0)
      {
          if (! $this->isFile($path) && !$this->createFile($path))
              return false;
          if (($flags & FILE_APPEND) == FILE_APPEND)
              $this->at($path)->content .= $content;
          else
              $this->at($path)->content = $content;
          return true;
      }
code_tokens: public function filePutContents ( $ path , $ content , $ flags = 0 ) { if ( ! $ this -> isFile ( $ path ) && ! $ this -> createFile ( $ path ) ) return false ; if ( ( $ flags & FILE_APPEND ) == FILE_APPEND ) $ this -> at ( $ path ) -> content .= $ content ; else $ this -> at ( $ path ) -> content = $ content ; return true ; }
docstring: Equivalent to PHP `file_put_contents` function.
  
  @param  string  $path
  @return boolean
docstring_tokens: Equivalent to PHP file_put_contents function .