original_string: public function getDefaultConnection()
      {
          if (null === $this->defaultConnectionName) {
              throw new \RuntimeException('There is not default connection name.');
          }
  
          if (!isset($this->connections[$this->defaultConnectionName])) {
              throw new \RuntimeException(sprintf('The default connection "%s" does not exists.', $this->defaultConnectionName));
          }
  
          return $this->connections[$this->defaultConnectionName];
      }
code: public function getDefaultConnection()
      {
          if (null === $this->defaultConnectionName) {
              throw new \RuntimeException('There is not default connection name.');
          }
  
          if (!isset($this->connections[$this->defaultConnectionName])) {
              throw new \RuntimeException(sprintf('The default connection "%s" does not exists.', $this->defaultConnectionName));
          }
  
          return $this->connections[$this->defaultConnectionName];
      }
code_tokens: public function getDefaultConnection ( ) { if ( null === $ this -> defaultConnectionName ) { throw new \ RuntimeException ( 'There is not default connection name.' ) ; } if ( ! isset ( $ this -> connections [ $ this -> defaultConnectionName ] ) ) { throw new \ RuntimeException ( sprintf ( 'The default connection "%s" does not exists.' , $ this -> defaultConnectionName ) ) ; } return $ this -> connections [ $ this -> defaultConnectionName ] ; }
docstring: Returns the default connection.
  
  @return \Mandango\ConnectionInterface The default connection.
  
  @throws \RuntimeException If there is not default connection name.
  @throws \RuntimeException If the default connection does not exists.
  
  @api
docstring_tokens: Returns the default connection .