private function delegateAuthenticator(TokenInterface $token)
    {
        if ( ! $authenticator = $this->resolveAuthenticator($token)) {
            throw new \RuntimeException(sprintf(
                'No authentication authenticator found for token: "%s".',
                get_class($token)
            ));
        }

        return $authenticator;
    }
private function delegateAuthenticator(TokenInterface $token)
    {
        if ( ! $authenticator = $this->resolveAuthenticator($token)) {
            throw new \RuntimeException(sprintf(
                'No authentication authenticator found for token: "%s".',
                get_class($token)
            ));
        }

        return $authenticator;
    }
private function delegateAuthenticator ( TokenInterface $ token ) { if ( ! $ authenticator = $ this -> resolveAuthenticator ( $ token ) ) { throw new \ RuntimeException ( sprintf ( 'No authentication authenticator found for token: "%s".' , get_class ( $ token ) ) ) ; } return $ authenticator ; }
Delegate a authenticator for a token.

@param TokenInterface $token

@return DelegatingAuthenticator
Delegate a authenticator for a token .