| 1 | <?php |
||
| 19 | class BaseType |
||
| 20 | 1 | { |
|
| 21 | /** |
||
| 22 | 1 | * BaseType constructor. |
|
| 23 | * @param array $data |
||
| 24 | */ |
||
| 25 | 1 | public function __construct($data) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @param $data |
||
| 52 | * @return static |
||
| 53 | */ |
||
| 54 | public static function create($data) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param $json |
||
| 61 | * @return static |
||
| 62 | */ |
||
| 63 | public static function createFromJson($json) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param $key |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | private function toCamelCase($key) |
||
| 79 | } |