src/mako/gatekeeper/Gatekeeper.php
public function adapter(?string $name = null): AdapterInterface
	{
		$name = $name ?? $this->defaultAdapter;

		return $this->adapters[$name] ?? $this->adapterFactory($name);
	}
public function adapter(?string $name = null): AdapterInterface
	{
		$name = $name ?? $this->defaultAdapter;

		return $this->adapters[$name] ?? $this->adapterFactory($name);
	}
public function adapter ( ? string $ name = null ) : AdapterInterface { $ name = $ name ?? $ this -> defaultAdapter ; return $ this -> adapters [ $ name ] ?? $ this -> adapterFactory ( $ name ) ; }
Returns an adapter instance.

@param  string|null                                $name Adapter name
@return \mako\gatekeeper\adapters\AdapterInterface
Returns an adapter instance .