factory = $factory; } protected function createConnection(array $config): Hashids { return $this->factory->make($config); } protected function getConfigName(): string { return 'hashids'; } public function getFactory(): HashidsFactory { return $this->factory; } }