1 | <?php |
||
7 | class OptionsResolver extends BaseOptionsResolver |
||
8 | { |
||
9 | private $isLatestVersion; |
||
10 | |||
11 | /** |
||
12 | * Set a list of allowed types for the given option. |
||
13 | * |
||
14 | * @see Symfony\Component\OptionsResolver\OptionsResolver::setAllowedTypes() |
||
15 | * |
||
16 | * @param array $allowedTypes |
||
17 | * |
||
18 | * @return $this |
||
19 | */ |
||
20 | 30 | public function setTypesAllowed($allowedTypes = null) |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 75 | public function setDefined($optionNames) |
|
44 | |||
45 | 22 | public function setNormalizers(array $normalizers) |
|
57 | |||
58 | /** |
||
59 | * Checks whether or not the OptionsResolver version is up-to-date. |
||
60 | * |
||
61 | * @return bool |
||
62 | */ |
||
63 | 76 | private function isLatest() |
|
71 | } |
||
72 |
This check looks for function calls that miss required arguments.