| 1 | <?php |
||
| 21 | abstract class AbstractSection implements Section |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Config |
||
| 26 | */ |
||
| 27 | protected $values; |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * @param array $values |
||
| 32 | */ |
||
| 33 | public function __construct(array $values = []) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $key |
||
| 40 | * @param mixed $defaultValue |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function getValue($key, $defaultValue) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return Config |
||
| 50 | */ |
||
| 51 | public function getValues() |
||
| 55 | |||
| 56 | } |
||
| 57 |