original_string: public function put($file, $content, $flag = null, $recursive = false)
      {
          if ($recursive) {
              $this->createParentFolder($file);
          }
          return file_put_contents($this->getPath($file), $content, $flag);
      }
code: public function put($file, $content, $flag = null, $recursive = false)
      {
          if ($recursive) {
              $this->createParentFolder($file);
          }
          return file_put_contents($this->getPath($file), $content, $flag);
      }
code_tokens: public function put ( $ file , $ content , $ flag = null , $ recursive = false ) { if ( $ recursive ) { $ this -> createParentFolder ( $ file ) ; } return file_put_contents ( $ this -> getPath ( $ file ) , $ content , $ flag ) ; }
docstring: Put content in file.
  
  @param $file
  @param $content
  @param $flag
  @param bool $recursive
  @return int
docstring_tokens: Put content in file .