| 1 | <?php |
||
| 17 | final class UpdateResponse implements ApiResponse |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $message; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $message |
||
| 26 | */ |
||
| 27 | private function __construct($message) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param array $data |
||
| 34 | * |
||
| 35 | * @return UpdateResponse |
||
| 36 | */ |
||
| 37 | public static function create(array $data) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getMessage() |
||
| 49 | } |
||
| 50 |