| @@ 102-109 (lines=8) @@ | ||
| 99 | /** |
|
| 100 | * {@inheritdoc} |
|
| 101 | */ |
|
| 102 | protected function initResolver() |
|
| 103 | { |
|
| 104 | $this->resolver->setRequired($this->requiredParameters); |
|
| 105 | ||
| 106 | $this->resolver->setDefined(array_diff(array_keys($this->knownParameters), $this->requiredParameters)); |
|
| 107 | ||
| 108 | $this->initAllowed(); |
|
| 109 | } |
|
| 110 | ||
| 111 | /** |
|
| 112 | * Initialize allowed values. |
|
| @@ 57-64 (lines=8) @@ | ||
| 54 | /** |
|
| 55 | * {@inheritdoc} |
|
| 56 | */ |
|
| 57 | protected function initResolver() |
|
| 58 | { |
|
| 59 | $this->resolver->setRequired($this->requiredParameters); |
|
| 60 | ||
| 61 | $this->resolver->setDefined(array_diff($this->knownParameters, $this->requiredParameters)); |
|
| 62 | ||
| 63 | $this->initAllowed(); |
|
| 64 | } |
|
| 65 | ||
| 66 | /** |
|
| 67 | * Initialize allowed values for the cancellation OptionResolver. |
|