private function resolveAuthenticator(TokenInterface $token)
    {
        foreach ($this->authenticators as $authenticator) {
            if ($authenticator->supports($token)) {
                return $authenticator;
            }
        }

        return false;
    }
private function resolveAuthenticator(TokenInterface $token)
    {
        foreach ($this->authenticators as $authenticator) {
            if ($authenticator->supports($token)) {
                return $authenticator;
            }
        }

        return false;
    }
private function resolveAuthenticator ( TokenInterface $ token ) { foreach ( $ this -> authenticators as $ authenticator ) { if ( $ authenticator -> supports ( $ token ) ) { return $ authenticator ; } } return false ; }
Resolve a token to its authenticator.

@param TokenInterface $token

@return mixed
Resolve a token to its authenticator .