src/mako/gatekeeper/Gatekeeper.php
protected function adapterFactory(string $name): AdapterInterface
	{
		$factory = $this->adapterFactories[$name];

		return $this->adapters[$name] = $factory();
	}
protected function adapterFactory(string $name): AdapterInterface
	{
		$factory = $this->adapterFactories[$name];

		return $this->adapters[$name] = $factory();
	}
protected function adapterFactory ( string $ name ) : AdapterInterface { $ factory = $ this -> adapterFactories [ $ name ] ; return $ this -> adapters [ $ name ] = $ factory ( ) ; }
Creates an adapter instance using a factory.

@param  string                                     $name Adapter name
@return \mako\gatekeeper\adapters\AdapterInterface
Creates an adapter instance using a factory .