| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class CallbackResponse implements CallbackResponseInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $status; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $message; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $status |
||
| 21 | * @param string $message |
||
| 22 | */ |
||
| 23 | public function __construct($status, $message) |
||
| 24 | { |
||
| 25 | $this->status = $status; |
||
| 26 | $this->message = $message; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | public function getStatus() |
||
| 33 | { |
||
| 34 | return $this->status; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritDoc} |
||
| 39 | */ |
||
| 40 | public function getMessage() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |