src/mako/gatekeeper/Gatekeeper.php
protected function registerAdapterInstance(AdapterInterface $adapter): string
	{
		$this->adapters[$name = $adapter->getName()] = $adapter;

		return $name;
	}
protected function registerAdapterInstance(AdapterInterface $adapter): string
	{
		$this->adapters[$name = $adapter->getName()] = $adapter;

		return $name;
	}
protected function registerAdapterInstance ( AdapterInterface $ adapter ) : string { $ this -> adapters [ $ name = $ adapter -> getName ( ) ] = $ adapter ; return $ name ; }
Registers an adapter instance.

@param  \mako\gatekeeper\adapters\AdapterInterface $adapter Adapter instance
@return string
Registers an adapter instance .