mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 19:02:41 +01:00
7cf7f36452
Summary: Ref T1536. Error state is a bit gross but we need to sort that out in general. Test Plan: {F46549} {F46550} Reviewers: chad, btrahan Reviewed By: chad CC: aran Maniphest Tasks: T1536 Differential Revision: https://secure.phabricator.com/D6208
23 lines
371 B
PHP
23 lines
371 B
PHP
<?php
|
|
|
|
/**
|
|
* @group aphront
|
|
*/
|
|
final class AphrontDialogResponse extends AphrontResponse {
|
|
|
|
private $dialog;
|
|
|
|
public function setDialog(AphrontDialogView $dialog) {
|
|
$this->dialog = $dialog;
|
|
return $this;
|
|
}
|
|
|
|
public function getDialog() {
|
|
return $this->dialog;
|
|
}
|
|
|
|
public function buildResponseString() {
|
|
return $this->dialog->render();
|
|
}
|
|
|
|
}
|