original_string: protected function generatePathname($id)
      {
          if (!file_exists($this->basePath)) {
              mkdir($this->basePath, 0777, true);
          }
  
          return $this->basePath.'/'.$id;
      }
code: protected function generatePathname($id)
      {
          if (!file_exists($this->basePath)) {
              mkdir($this->basePath, 0777, true);
          }
  
          return $this->basePath.'/'.$id;
      }
code_tokens: protected function generatePathname ( $ id ) { if ( ! file_exists ( $ this -> basePath ) ) { mkdir ( $ this -> basePath , 0777 , true ) ; } return $ this -> basePath . '/' . $ id ; }
docstring: Generate a pathname for an ID
  
  @param string $id ID
  
  @return string
docstring_tokens: Generate a pathname for an ID