1 | <?php |
||
25 | class OptionsResolver |
||
26 | { |
||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | private $defined = array(); |
||
31 | |||
32 | /** |
||
33 | * @var array |
||
34 | */ |
||
35 | private $required = array(); |
||
36 | |||
37 | /** |
||
38 | * @var array |
||
39 | */ |
||
40 | private $defaults = array(); |
||
41 | |||
42 | /** |
||
43 | * @var array |
||
44 | */ |
||
45 | private $allowedValues = array(); |
||
46 | |||
47 | /** |
||
48 | * @var array |
||
49 | */ |
||
50 | private $allowedTypes = array(); |
||
51 | |||
52 | /** |
||
53 | * @var array |
||
54 | */ |
||
55 | private $normalizers = array(); |
||
56 | |||
57 | /** |
||
58 | * @param array $defined |
||
59 | * |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setDefined(array $defined) |
||
68 | |||
69 | /** |
||
70 | * @param string $option |
||
71 | * @param mixed $value |
||
72 | * |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function setDefault($option, $value) |
||
81 | |||
82 | /** |
||
83 | * @param array $options |
||
84 | * |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setRequired(array $options) |
||
93 | |||
94 | /** |
||
95 | * @param string $option |
||
96 | * @param mixed[] $values |
||
97 | * |
||
98 | * @return $this |
||
99 | */ |
||
100 | public function setAllowedValues($option, array $values) |
||
106 | |||
107 | /** |
||
108 | * @param string $option |
||
109 | * @param mixed[] $types |
||
110 | * |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setAllowedTypes($option, array $types) |
||
119 | |||
120 | /** |
||
121 | * @param string $option |
||
122 | * @param \Closure $normalizer |
||
123 | * |
||
124 | * @return $this |
||
125 | */ |
||
126 | public function setNormalizer($option, \Closure $normalizer) |
||
132 | |||
133 | /** |
||
134 | * @param array $options |
||
135 | * |
||
136 | * @return array |
||
137 | */ |
||
138 | public function resolve(array $options) |
||
152 | |||
153 | /** |
||
154 | * @param BaseOptionsResolver $resolver |
||
155 | */ |
||
156 | private function setupResolver(BaseOptionsResolver $resolver) |
||
172 | |||
173 | /** |
||
174 | * @param BaseOptionsResolver $resolver |
||
175 | */ |
||
176 | private function setupResolverLegacy(BaseOptionsResolver $resolver) |
||
183 | } |
||
184 |
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.