public function modify($type, $value)
{
$this->type = (int) $type;
$this->value = $value;
if ($this->referencedTo) {
$this->referencedTo->modify($type, $value);
}
}
/** * @param int $type * @param mixed $value */ public function modify($type, $value) { $this->type = (int) $type; $this->value = $value; if ($this->referencedTo) { $this->referencedTo->modify($type, $value); } }