src/Auth.php
public function getAdapter(string $name): AdapterInterface
    {
        if (!$this->hasAdapter($name)) {
            throw new Exception\AdapterNotFound('auth adapter '.$name.' is not registered');
        }

        return $this->adapter[$name];
    }
public function getAdapter(string $name): AdapterInterface
    {
        if (!$this->hasAdapter($name)) {
            throw new Exception\AdapterNotFound('auth adapter '.$name.' is not registered');
        }

        return $this->adapter[$name];
    }
public function getAdapter ( string $ name ) : AdapterInterface { if ( ! $ this -> hasAdapter ( $ name ) ) { throw new Exception \ AdapterNotFound ( 'auth adapter ' . $ name . ' is not registered' ) ; } return $ this -> adapter [ $ name ] ; }
Get adapter.

@param string $name

@return AdapterInterface
Get adapter .