original_string: public function serializeToken(AuthToken $token)
    {
      $payload = $this->encrypter->encrypt(array(
        'id' => $token->getAuthIdentifier(),
        'key' => $token->getPublicKey())
      );
  
  		$payload = str_replace(array('+', '/', '\r', '\n', '='), array('-', '_'), $payload);
  
      return $payload;
    }
code: public function serializeToken(AuthToken $token)
    {
      $payload = $this->encrypter->encrypt(array(
        'id' => $token->getAuthIdentifier(),
        'key' => $token->getPublicKey())
      );
  
  		$payload = str_replace(array('+', '/', '\r', '\n', '='), array('-', '_'), $payload);
  
      return $payload;
    }
code_tokens: public function serializeToken ( AuthToken $ token ) { $ payload = $ this -> encrypter -> encrypt ( array ( 'id' => $ token -> getAuthIdentifier ( ) , 'key' => $ token -> getPublicKey ( ) ) ) ; $ payload = str_replace ( array ( '+' , '/' , '\r' , '\n' , '=' ) , array ( '-' , '_' ) , $ payload ) ; return $ payload ; }
docstring: Returns serialized token.
  
  @param AuthToken $token
  @return string
docstring_tokens: Returns serialized token .