code: public function getConnection($name)
      {
          if (!isset($this->connections[$name])) {
              throw new NotFoundException(sprintf(
                  'Connection %s not registered, available are [ %s ]'),
                  $name,
                  implode(', ', array_keys($this->connections))
              );
          }
  
          return $this->connections[$name];
      }
docs: @param $name
  
  @throws NotFoundException
  
  @return mixed