1 | <?php namespace Mascame\Artificer\Model; |
||
5 | class ModelRelation |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var |
||
10 | */ |
||
11 | public $relations; |
||
12 | |||
13 | |||
14 | /** |
||
15 | * @return array|mixed |
||
16 | */ |
||
17 | public function get() |
||
31 | |||
32 | /** |
||
33 | * @param $field |
||
34 | * @return bool |
||
35 | */ |
||
36 | private function hasRelation($field) |
||
40 | |||
41 | /** |
||
42 | * @param $fields |
||
43 | * @return array |
||
44 | */ |
||
45 | private function getFieldsWithRelations($fields) |
||
57 | |||
58 | |||
59 | } |