original_string: protected function deserializeResponse(ResponseInterface $response)
      {
          // First, we need an encoder that filters out null values.
          $encoders = [new JsonEncoder()];
  
          // Attempt normalizing each key in this order, including denormalizing recursively.
          $extractor = new NotificationTypeExtractor();
          $extractor->setClass($this->service->getClass());
          $normalizers = [
              new UnixMillisecondNormalizer(),
              new UriNormalizer(),
              new ObjectNormalizer(null, null, null, $extractor),
              new ArrayDenormalizer(),
          ];
  
          $serializer = new Serializer($normalizers, $encoders);
          // @todo Handle exception returns.
          return $serializer->deserialize($response->getBody(), Notification::class.'[]', 'json');
      }
code: protected function deserializeResponse(ResponseInterface $response)
      {
          // First, we need an encoder that filters out null values.
          $encoders = [new JsonEncoder()];
  
          // Attempt normalizing each key in this order, including denormalizing recursively.
          $extractor = new NotificationTypeExtractor();
          $extractor->setClass($this->service->getClass());
          $normalizers = [
              new UnixMillisecondNormalizer(),
              new UriNormalizer(),
              new ObjectNormalizer(null, null, null, $extractor),
              new ArrayDenormalizer(),
          ];
  
          $serializer = new Serializer($normalizers, $encoders);
          // @todo Handle exception returns.
          return $serializer->deserialize($response->getBody(), Notification::class.'[]', 'json');
      }
code_tokens: protected function deserializeResponse ( ResponseInterface $ response ) { // First, we need an encoder that filters out null values. $ encoders = [ new JsonEncoder ( ) ] ; // Attempt normalizing each key in this order, including denormalizing recursively. $ extractor = new NotificationTypeExtractor ( ) ; $ extractor -> setClass ( $ this -> service -> getClass ( ) ) ; $ normalizers = [ new UnixMillisecondNormalizer ( ) , new UriNormalizer ( ) , new ObjectNormalizer ( null , null , null , $ extractor ) , new ArrayDenormalizer ( ) , ] ; $ serializer = new Serializer ( $ normalizers , $ encoders ) ; // @todo Handle exception returns. return $ serializer -> deserialize ( $ response -> getBody ( ) , Notification :: class . '[]' , 'json' ) ; }
docstring: Deserialize a notification response.
  
  @param ResponseInterface $response
  
  @return Notification
docstring_tokens: Deserialize a notification response .