public function setMaxNestedForwards($maxNestedForwards) { $this->maxNestedForwards = (int) $maxNestedForwards; return $this; }