Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setCircularReferenceLimit PHP Method

setCircularReferenceLimit() public method

Set circular reference limit.
public setCircularReferenceLimit ( integer $circularReferenceLimit ) : self
$circularReferenceLimit integer limit of iterations for the same object
return self
    public function setCircularReferenceLimit($circularReferenceLimit)
    {
        $this->circularReferenceLimit = $circularReferenceLimit;
        return $this;
    }