setIgnoredAttributes() public method

Set ignored attributes for normalization and denormalization.
public setIgnoredAttributes ( array $ignoredAttributes ) : self
$ignoredAttributes array
return self
 /**
  * {@inheritdoc}
  */
 public function setIgnoredAttributes(array $ignoredAttributes)
 {
     parent::setIgnoredAttributes($ignoredAttributes);
     $this->propertyNormalizer->setIgnoredAttributes($ignoredAttributes);
     return $this;
 }