original_string: public function getLogPath()
      {
          if (!$this->basePath) {
              throw new \InvalidArgumentException('The property basePath is required.');
          }
  
          return $this->getBasePath() . '/' . ($this->subFolder ? $this->subFolder . '/' : '');
      }
code: public function getLogPath()
      {
          if (!$this->basePath) {
              throw new \InvalidArgumentException('The property basePath is required.');
          }
  
          return $this->getBasePath() . '/' . ($this->subFolder ? $this->subFolder . '/' : '');
      }
code_tokens: public function getLogPath ( ) { if ( ! $ this -> basePath ) { throw new \ InvalidArgumentException ( 'The property basePath is required.' ) ; } return $ this -> getBasePath ( ) . '/' . ( $ this -> subFolder ? $ this -> subFolder . '/' : '' ) ; }
docstring: get log path
  @return string
  @throws \InvalidArgumentException
docstring_tokens: get log path