value = $object->loadUserProfile()->getTitle(); } public function getOldValueForApplicationTransactions() { return $this->getObject()->loadUserProfile()->getTitle(); } public function getNewValueForApplicationTransactions() { return $this->value; } public function applyApplicationTransactionInternalEffects( PhabricatorApplicationTransaction $xaction) { $this->getObject()->loadUserProfile()->setTitle($xaction->getNewValue()); } public function readValueFromRequest(AphrontRequest $request) { $this->value = $request->getStr($this->getFieldKey()); } public function renderEditControl(array $handles) { return id(new AphrontFormTextControl()) ->setName($this->getFieldKey()) ->setValue($this->value) ->setLabel($this->getFieldName()); } }