public function setWidthsFrom(FormattingVisitor $other) { $this->setLeftFieldWidth($other->getLeftFieldWidth()); $this->setRightFieldWidth($other->getRightFieldWidth()); $this->setIndentFieldWidth($other->getIndentFieldWidth()); }