setParam() public method

public setParam ( $key, $value )
 /**
  * @param string $name
  * @param mixed  $value
  *
  * @return self
  */
 public function setParam($name, $value)
 {
     if ('translator' === $name) {
         foreach ($this->getRelated() as $exception) {
             $exception->setParam($name, $value);
         }
     }
     parent::setParam($name, $value);
     return $this;
 }
 public function setParam($name, $value)
 {
     parent::setParam($name, $value);
     if ('translator' === $name) {
         foreach ($this->getRelated(true) as $related) {
             $related->setParam($name, $value);
         }
     }
     return $this;
 }