code: protected function getConnectionFactory($type)
      {
          if (false === isset($this->connectionFactories[$type])) {
              throw new \InvalidArgumentException("Missing connection factory \"$type\"");
          }
  
          return $this->connectionFactories[$type];
      }
docs: Get connection factory
  @param string $type
  @throws \Exception
  @return \Yucca\Component\ConnectionFactory\ConnectionFactoryInterface