carono /
etxtru-api
| 1 | <?php |
||
| 2 | |||
| 3 | |||
| 4 | namespace carono\etxtru; |
||
| 5 | |||
| 6 | |||
| 7 | abstract class ResponseAbstract extends ArrayObject |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var boolean |
||
| 11 | */ |
||
| 12 | public $success; |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $error; |
||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * @param $property |
||
| 21 | * @return mixed|null |
||
| 22 | */ |
||
| 23 | public function getResponseClass($property) |
||
| 24 | { |
||
| 25 | return isset($this->_responseClasses[$property]) ? $this->_responseClasses[$property] : null; |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 26 | } |
||
| 27 | } |