1 | <?php |
||
19 | final class CreateResponse implements ApiResponse |
||
20 | { |
||
21 | private $type; |
||
22 | private $value; |
||
23 | private $message; |
||
24 | |||
25 | final private function __construct() |
||
28 | |||
29 | public static function create(array $data): self |
||
38 | |||
39 | public function getType(): string |
||
43 | |||
44 | public function getValue(): string |
||
48 | |||
49 | public function getMessage(): string |
||
53 | } |
||
54 |