original_string: private function triggerRememberMe(GuardAuthenticatorInterface $guardAuthenticator, Request $request, TokenInterface $token, Response $response = null)
      {
          if (!$guardAuthenticator->supportsRememberMe()) {
              return;
          }
  
          if (null === $this->rememberMeServices) {
              if (null !== $this->logger) {
                  $this->logger->info('Remember me skipped: it is not configured for the firewall.', array('authenticator' => get_class($guardAuthenticator)));
              }
  
              return;
          }
  
          if (!$response instanceof Response) {
              throw new \LogicException(sprintf(
                  '%s::onAuthenticationSuccess *must* return a Response if you want to use the remember me functionality. Return a Response, or set remember_me to false under the guard configuration.',
                  get_class($guardAuthenticator)
              ));
          }
  
          $this->rememberMeServices->loginSuccess($request, $response, $token);
      }
code: private function triggerRememberMe(GuardAuthenticatorInterface $guardAuthenticator, Request $request, TokenInterface $token, Response $response = null)
      {
          if (!$guardAuthenticator->supportsRememberMe()) {
              return;
          }
  
          if (null === $this->rememberMeServices) {
              if (null !== $this->logger) {
                  $this->logger->info('Remember me skipped: it is not configured for the firewall.', array('authenticator' => get_class($guardAuthenticator)));
              }
  
              return;
          }
  
          if (!$response instanceof Response) {
              throw new \LogicException(sprintf(
                  '%s::onAuthenticationSuccess *must* return a Response if you want to use the remember me functionality. Return a Response, or set remember_me to false under the guard configuration.',
                  get_class($guardAuthenticator)
              ));
          }
  
          $this->rememberMeServices->loginSuccess($request, $response, $token);
      }
code_tokens: private function triggerRememberMe ( GuardAuthenticatorInterface $ guardAuthenticator , Request $ request , TokenInterface $ token , Response $ response = null ) { if ( ! $ guardAuthenticator -> supportsRememberMe ( ) ) { return ; } if ( null === $ this -> rememberMeServices ) { if ( null !== $ this -> logger ) { $ this -> logger -> info ( 'Remember me skipped: it is not configured for the firewall.' , array ( 'authenticator' => get_class ( $ guardAuthenticator ) ) ) ; } return ; } if ( ! $ response instanceof Response ) { throw new \ LogicException ( sprintf ( '%s::onAuthenticationSuccess *must* return a Response if you want to use the remember me functionality. Return a Response, or set remember_me to false under the guard configuration.' , get_class ( $ guardAuthenticator ) ) ) ; } $ this -> rememberMeServices -> loginSuccess ( $ request , $ response , $ token ) ; }
docstring: Checks to see if remember me is supported in the authenticator and
  on the firewall. If it is, the RememberMeServicesInterface is notified.
  
  @param GuardAuthenticatorInterface $guardAuthenticator
  @param Request                     $request
  @param TokenInterface              $token
  @param Response                    $response
docstring_tokens: Checks to see if remember me is supported in the authenticator and on the firewall . If it is the RememberMeServicesInterface is notified .