original_string: public function setPath($path)
      {
          if (!file_exists($path))
          {
              mkdir($path, 0777, true);
          }
  
          $this->path = $path;
      }
code: public function setPath($path)
      {
          if (!file_exists($path))
          {
              mkdir($path, 0777, true);
          }
  
          $this->path = $path;
      }
code_tokens: public function setPath ( $ path ) { if ( ! file_exists ( $ path ) ) { mkdir ( $ path , 0777 , true ) ; } $ this -> path = $ path ; }
docstring: Setting logs path
  
  @param string $path
  
  @return void
docstring_tokens: Setting logs path