class ConfigurationCRUDEvent in Configuration Management 7.3
Hierarchy
- class \Configuration\Events\ConfigurationCRUDEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of ConfigurationCRUDEvent
1 file declares its use of ConfigurationCRUDEvent
- ConfigurationHandler.php in src/
Handlers/ ConfigurationHandler.php
File
- src/
Events/ ConfigurationCRUDEvent.php, line 10
Namespace
Configuration\EventsView source
class ConfigurationCRUDEvent extends Event {
public $configuration;
public function __construct(Configuration $configuration, $settings = array()) {
$this->configuration = $configuration;
$this->settings = new Map($settings);
}
public function getSetting($key) {
if ($this->settings
->containsKey($key)) {
return $this->settings
->get($key)
->get();
}
}
public function setSetting($key, $value) {
$this->settings
->set($key, $value);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurationCRUDEvent:: |
public | property | ||
ConfigurationCRUDEvent:: |
public | function | ||
ConfigurationCRUDEvent:: |
public | function | ||
ConfigurationCRUDEvent:: |
public | function |