| 1 | <?php |
||
| 12 | abstract class AbstractParameterResolver implements ParameterResolverInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var OptionsResolver |
||
| 16 | */ |
||
| 17 | protected $resolver; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor initialize all available parameters. |
||
| 21 | */ |
||
| 22 | public function __construct() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Initialize the OptionResolver with required/optionnal options and allowed values. |
||
| 29 | */ |
||
| 30 | abstract protected function initResolver(); |
||
| 31 | } |
||
| 32 |