| 1 | <?php |
||
| 8 | class Error implements FromArrayInterface |
||
| 9 | { |
||
| 10 | /** @var string */ |
||
| 11 | private $message; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $status; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $message |
||
| 18 | * @param string $status |
||
| 19 | */ |
||
| 20 | public function __construct( |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getMessage() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $message |
||
| 39 | * |
||
| 40 | * @return $this; |
||
|
|
|||
| 41 | */ |
||
| 42 | public function setMessage(string $message) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getStatus() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $status |
||
| 59 | * |
||
| 60 | * @return $this |
||
| 61 | */ |
||
| 62 | public function setStatus(string $status) |
||
| 68 | |||
| 69 | /** |
||
| 70 | * {@inheritdoc} |
||
| 71 | */ |
||
| 72 | public static function fromArray(array $data) |
||
| 79 | } |
||
| 80 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.