| 1 | <?php  | 
            ||
| 12 | class EditableConfig implements EditableConfigInterface { | 
            ||
| 13 | |||
| 14 | protected $config;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * EditableConfig constructor.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @param string $name  | 
            ||
| 20 | * The config name.  | 
            ||
| 21 | */  | 
            ||
| 22 |   public function __construct($name) { | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 |    * {@inheritdoc} | 
            ||
| 28 | */  | 
            ||
| 29 |   public function get($key = '') { | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 |    * {@inheritdoc} | 
            ||
| 35 | */  | 
            ||
| 36 |   public function set($key, $value) { | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 |    * {@inheritdoc} | 
            ||
| 42 | */  | 
            ||
| 43 |   public function setData(array $data) { | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 |    * {@inheritdoc} | 
            ||
| 49 | */  | 
            ||
| 50 |   public function getData() { | 
            ||
| 53 | |||
| 54 | /**  | 
            ||
| 55 |    * {@inheritdoc} | 
            ||
| 56 | */  | 
            ||
| 57 |   public function save() { | 
            ||
| 60 | |||
| 61 | }  | 
            ||
| 62 |