1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- * Interface for config writers
- *
- * Specifies the methods that a config writer must implement
- *
- * @package KO7
- * ohana Team
- * @copyright (c) 2007-2016 Kohana Team
- * @copyright (c) since 2016 Koseven Team
- * @license https://koseven.dev/LICENSE
- */
- interface KO7_Config_Writer extends KO7_Config_Source
- {
- /**
- * Writes the passed config for $group
- *
- * Returns chainable instance on success or throws
- * KO7_Config_Exception on failure
- *
- * @param string $group The config group
- * @param string $key The config key to write to
- * @param array $config The configuration to write
- * @return boolean
- */
- public function write($group, $key, $config);
- }
|