1 | <?php namespace Mascame\Artificer\Fields; |
||
7 | class FieldFactory |
||
8 | { |
||
9 | |||
10 | public $fieldClass; |
||
11 | public $fields; |
||
12 | public $relatedFields = null; |
||
13 | public $custom_fields = null; |
||
14 | |||
15 | /** |
||
16 | * @var FieldParser |
||
17 | */ |
||
18 | public $parser; |
||
19 | |||
20 | /** |
||
21 | * @var Model |
||
22 | */ |
||
23 | public $modelObject; |
||
24 | public $data; |
||
25 | |||
26 | public $namespace = '\Mascame\Artificer\Fields\Types\\'; |
||
27 | |||
28 | public $classMap = array(); |
||
29 | |||
30 | /** |
||
31 | * @param $type |
||
32 | * @param $field |
||
33 | * @param $value |
||
34 | * @return mixed |
||
35 | * @throws \Exception |
||
36 | */ |
||
37 | public function make($type, $field, $value) |
||
43 | |||
44 | /** |
||
45 | * @param $data |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function makeFields($data) |
||
69 | |||
70 | /** |
||
71 | * @param $name |
||
72 | * @return bool|mixed |
||
73 | */ |
||
74 | protected function getTypeFromConfig($name) { |
||
83 | |||
84 | /** |
||
85 | * @param $name |
||
86 | * @return bool |
||
87 | */ |
||
88 | protected function isRelation($name) |
||
92 | |||
93 | /** |
||
94 | * @return array|null |
||
95 | */ |
||
96 | public function getRelated() |
||
111 | |||
112 | /** |
||
113 | * @return array |
||
114 | */ |
||
115 | protected function withRelated() |
||
127 | |||
128 | /** |
||
129 | * @return array |
||
130 | */ |
||
131 | protected function withCustomFields() |
||
145 | |||
146 | /** |
||
147 | * @param $field |
||
148 | * @return null |
||
149 | */ |
||
150 | public function fieldValue($field) |
||
154 | |||
155 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.