1 | <?php |
||
9 | class OptionsResolver extends SymfonyOptionsResolver |
||
10 | { |
||
11 | /** @var bool */ |
||
12 | protected $allowUnknownKeys = false; |
||
13 | |||
14 | public function configureOption(string $name, array $allowedTypes, $default, array $allowedValues = null): self |
||
22 | |||
23 | public function configureRequiredOption(string $name, array $allowedTypes, array $allowedValues = null): self |
||
31 | |||
32 | public function setAllowUnknownKeys(bool $allow): self |
||
38 | |||
39 | public function resolve(array $options = []) |
||
47 | |||
48 | protected function setAllowedTypesAndValues(string $name, array $allowedTypes, array $allowedValues = null): self |
||
59 | } |
||
60 |