original_string: public function setPath($path): void
      {
          if (!is_dir($path)) {
              throw new ConfigException('Configuration directory is not exists');
          }
          $this->path = rtrim($path, '/');
      }
code: public function setPath($path): void
      {
          if (!is_dir($path)) {
              throw new ConfigException('Configuration directory is not exists');
          }
          $this->path = rtrim($path, '/');
      }
code_tokens: public function setPath ( $ path ) : void { if ( ! is_dir ( $ path ) ) { throw new ConfigException ( 'Configuration directory is not exists' ) ; } $ this -> path = rtrim ( $ path , '/' ) ; }
docstring: Set path to configuration files
  
  @param  string $path
  
  @return void
  @throws ConfigException
docstring_tokens: Set path to configuration files