| 1 | <?php |
||
| 8 | class Response |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | public $message; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $subtitle; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Make a fucking response, okay? |
||
| 22 | * |
||
| 23 | * @param string $message |
||
| 24 | * @param string $subtitle |
||
| 25 | */ |
||
| 26 | 3 | public function __construct($message, $subtitle) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * You'd better be able to fucking print this response as a string. |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 1 | public function __toString() |
|
| 41 | } |
||
| 42 |