original_string: public function setIgnoredAttributes(array $ignoredAttributes)
      {
          @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "ignored_attributes" key of the context instead.', __METHOD__), E_USER_DEPRECATED);
  
          $this->defaultContext[self::IGNORED_ATTRIBUTES] = $this->ignoredAttributes = $ignoredAttributes;
  
          return $this;
      }
code: public function setIgnoredAttributes(array $ignoredAttributes)
      {
          @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "ignored_attributes" key of the context instead.', __METHOD__), E_USER_DEPRECATED);
  
          $this->defaultContext[self::IGNORED_ATTRIBUTES] = $this->ignoredAttributes = $ignoredAttributes;
  
          return $this;
      }
code_tokens: public function setIgnoredAttributes ( array $ ignoredAttributes ) { @ trigger_error ( sprintf ( 'The "%s()" method is deprecated since Symfony 4.2, use the "ignored_attributes" key of the context instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; $ this -> defaultContext [ self :: IGNORED_ATTRIBUTES ] = $ this -> ignoredAttributes = $ ignoredAttributes ; return $ this ; }
docstring: Sets ignored attributes for normalization and denormalization.
  
  @deprecated since Symfony 4.2
  
  @return self
docstring_tokens: Sets ignored attributes for normalization and denormalization .