id = $data['id']; } public function processRequest() { $changeset = id(new DifferentialChangeset())->load($this->id); if (!$changeset) { return new Aphront404Response(); } $changeset->attachHunks($changeset->loadHunks()); $parser = new DifferentialChangesetParser(); $parser->setChangeset($changeset); $output = $parser->render(); $request = $this->getRequest(); if ($request->isAjax()) { return id(new AphrontAjaxResponse()) ->setContent($output); } $detail = new DifferentialChangesetDetailView(); $detail->setChangeset($changeset); $detail->appendChild($output); // TODO: This is a bit of a hacky mess. $output = '