summary = $this->getRevision()->getSummary(); } public function setValueFromRequest(AphrontRequest $request) { $this->summary = $request->getStr('summary'); return $this; } public function renderEditControl() { return id(new AphrontFormTextAreaControl()) ->setLabel('Summary') ->setName('summary') ->setValue($this->summary); } public function willWriteRevision(DifferentialRevisionEditor $editor) { $this->getRevision()->setSummary($this->summary); } public function shouldAppearOnCommitMessage() { return true; } public function getCommitMessageKey() { return 'summary'; } public function setValueFromParsedCommitMessage($value) { $this->summary = (string)$value; return $this; } public function shouldOverwriteWhenCommitMessageIsEdited() { return true; } public function renderLabelForCommitMessage() { return 'Summary'; } public function renderValueForCommitMessage($is_edit) { return $this->summary; } }