| 1 | <?php |
||
| 11 | class InMemorySettingRepository implements SettingRepositoryInterface |
||
| 12 | { |
||
| 13 | private $values = []; |
||
| 14 | |||
| 15 | |||
| 16 | public function __construct($settingPlainRows) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function findWithinSection(Key $settingKey, Section $section) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function save(Setting $setting) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param $name |
||
| 55 | * @param $value |
||
| 56 | * @param $section |
||
| 57 | */ |
||
| 58 | private function set($name, $value, $section) |
||
| 64 | } |
||
| 65 |