1 | <?php |
||
9 | trait ObjectConverterTrait |
||
10 | { |
||
11 | /** |
||
12 | * To array |
||
13 | * |
||
14 | * @return array |
||
15 | */ |
||
16 | public function toArray() |
||
27 | |||
28 | /** |
||
29 | * Fill from array |
||
30 | * |
||
31 | * @param array $params |
||
32 | * @return $this; |
||
33 | */ |
||
34 | public function fillFromArray(array $params) |
||
46 | |||
47 | /** |
||
48 | * Get object converter exclude fields |
||
49 | * |
||
50 | * @return array |
||
51 | */ |
||
52 | protected function getObjectConverterExcludeFields() |
||
56 | |||
57 | /** |
||
58 | * @param mixed $value |
||
59 | * @return bool |
||
60 | */ |
||
61 | protected function checkClassParamIsObjectConverter($value) |
||
65 | } |