| Total Complexity | 8 |
| Total Lines | 69 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class AuthResponse extends AbstractEntity |
||
| 6 | { |
||
| 7 | protected string $error_code; |
||
| 8 | protected string $error_details; |
||
| 9 | protected string $error_string; |
||
| 10 | protected string $status; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function getErrorCode(): string |
||
| 16 | { |
||
| 17 | return $this->error_code; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $error_code |
||
| 22 | */ |
||
| 23 | public function setErrorCode(string $error_code): void |
||
| 24 | { |
||
| 25 | $this->error_code = $error_code; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getErrorDetails(): string |
||
| 32 | { |
||
| 33 | return $this->error_details; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $error_details |
||
| 38 | */ |
||
| 39 | public function setErrorDetails(string $error_details): void |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getErrorString(): string |
||
| 48 | { |
||
| 49 | return $this->error_string; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $error_string |
||
| 54 | */ |
||
| 55 | public function setErrorString(string $error_string): void |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getStatus(): string |
||
| 64 | { |
||
| 65 | return $this->status; |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param string $status |
||
| 70 | */ |
||
| 71 | public function setStatus(string $status): void |
||
| 74 | } |
||
| 75 | } |
||
| 76 |