You are here

public function AbstractNormalizer::setIgnoredAttributes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Normalizer/AbstractNormalizer.php \Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setIgnoredAttributes()

Set ignored attributes for normalization and denormalization.

Parameters

array $ignoredAttributes:

Return value

self

File

vendor/symfony/serializer/Normalizer/AbstractNormalizer.php, line 136

Class

AbstractNormalizer
Normalizer implementation.

Namespace

Symfony\Component\Serializer\Normalizer

Code

public function setIgnoredAttributes(array $ignoredAttributes) {
  $this->ignoredAttributes = $ignoredAttributes;
  return $this;
}