1 | <?php |
||
2 | |||
3 | /** |
||
4 | * ConfigListenerInterface.php |
||
5 | * |
||
6 | * Listener interface for config changes. |
||
7 | * |
||
8 | * @package jaxon-core |
||
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
9 | * @author Thierry Feuzeu <[email protected]> |
||
10 | * @copyright 2022 Thierry Feuzeu <[email protected]> |
||
11 | * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License |
||
12 | * @link https://github.com/jaxon-php/jaxon-core |
||
13 | */ |
||
0 ignored issues
–
show
|
|||
14 | |||
15 | namespace Jaxon\App\Config; |
||
16 | |||
17 | use Jaxon\Utils\Config\Config; |
||
18 | |||
19 | interface ConfigListenerInterface |
||
0 ignored issues
–
show
|
|||
20 | { |
||
21 | /** |
||
22 | * Config option changed, in case of multiple changes, the name is an empty string |
||
23 | * |
||
24 | * @param Config $xConfig |
||
0 ignored issues
–
show
|
|||
25 | * @param string $sName The option name |
||
0 ignored issues
–
show
|
|||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | public function onChange(Config $xConfig, string $sName); |
||
0 ignored issues
–
show
|
|||
30 | } |
||
31 |