Configures whether to respect the max depth metadata on fields.
public function withEnableMaxDepth(?bool $enableMaxDepth) : static { return $this->with(AbstractObjectNormalizer::ENABLE_MAX_DEPTH, $enableMaxDepth); }