You are here

public function AbstractNormalizer::setCircularReferenceLimit 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::setCircularReferenceLimit()

Set circular reference limit.

Parameters

int $circularReferenceLimit limit of iterations for the same object:

Return value

self

File

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

Class

AbstractNormalizer
Normalizer implementation.

Namespace

Symfony\Component\Serializer\Normalizer

Code

public function setCircularReferenceLimit($circularReferenceLimit) {
  $this->circularReferenceLimit = $circularReferenceLimit;
  return $this;
}