mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
20 lines
308 B
PHP
20 lines
308 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @group aphront
|
||
|
*/
|
||
|
final class AphrontDialogResponse extends AphrontResponse {
|
||
|
|
||
|
private $dialog;
|
||
|
|
||
|
public function setDialog(AphrontDialogView $dialog) {
|
||
|
$this->dialog = $dialog;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function buildResponseString() {
|
||
|
return $this->dialog->render();
|
||
|
}
|
||
|
|
||
|
}
|