public function setParam($name, $value) { if ('translator' === $name) { foreach ($this->getRelated() as $exception) { $exception->setParam($name, $value); } } parent::setParam($name, $value); return $this; }