| 1 | <?php  | 
            ||
| 13 | abstract class OptionsConfigurator implements ArrayAccess, IteratorAggregate  | 
            ||
| 14 | { | 
            ||
| 15 | /** @var array */  | 
            ||
| 16 | protected $options;  | 
            ||
| 17 | |||
| 18 | public function __construct(array $options = [])  | 
            ||
| 25 | |||
| 26 | abstract protected function configureOptions(OptionsResolver $resolver);  | 
            ||
| 27 | |||
| 28 | public function offsetExists($offset): bool  | 
            ||
| 32 | |||
| 33 | public function offsetGet($offset)  | 
            ||
| 37 | |||
| 38 | public function offsetSet($offset, $value)  | 
            ||
| 46 | |||
| 47 | public function offsetUnset($offset)  | 
            ||
| 51 | |||
| 52 | public function getIterator(): ArrayIterator  | 
            ||
| 56 | |||
| 57 | public function toArray(): array  | 
            ||
| 61 | }  | 
            ||
| 62 |