PHP Classes

File: src/App/Config/ConfigListenerInterface.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   src/App/Config/ConfigListenerInterface.php   Download  
File: src/App/Config/ConfigListenerInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 7 months ago
Size: 731 bytes
 

Contents

Class file image Download
<?php

/**
 * ConfigListenerInterface.php
 *
 * Listener interface for config changes.
 *
 * @package jaxon-core
 * @author Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @copyright 2022 Thierry Feuzeu <thierry.feuzeu@gmail.com>
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
 * @link https://github.com/jaxon-php/jaxon-core
 */

namespace Jaxon\App\Config;

use
Jaxon\Config\Config;

interface
ConfigListenerInterface
{
   
/**
     * Config option changed, in case of multiple changes, the name is an empty string
     *
     * @param Config $xConfig
     * @param string $sName The option name
     *
     * @return void
     */
   
public function onChange(Config $xConfig, string $sName): void;
}