code: public function createNamed($name)
      {
          if (!isset($this->configs[$name])) {
              throw new HectorException(sprintf('Unable to load config for connection %s', $name));
          }
  
          $connection = new Connection(new \AMQPConnection($this->configs[$name]), $name);
          $this->registry->addConnection($connection);
  
          return $connection;
      }
docs: @param $name
  
  @throws HectorException
  
  @return Connection