| 1 | <?php |
||
| 9 | trait ErrorGetterTrait { |
||
| 10 | |||
| 11 | protected $error; |
||
| 12 | |||
| 13 | protected $detail; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public function getError() { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param mixed $error |
||
| 24 | */ |
||
| 25 | public function setError($error) { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function getDetail() { |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param mixed $detail |
||
| 38 | */ |
||
| 39 | public function setDetail($detail) { |
||
| 42 | } |