class ConfigCrudEvent extends Event (View source)

Wraps a configuration event for event listeners.

Properties

protected Config $config

Configuration object.

Methods

__construct(Config $config)

Constructs a configuration event object.

getConfig()

Gets configuration object.

bool
isChanged(string $key)

Checks to see if the provided configuration key's value has changed.

Details

__construct(Config $config)

Constructs a configuration event object.

Parameters

Config $config

Configuration object.

Config getConfig()

Gets configuration object.

Return Value

Config

The configuration object that caused the event to fire.

bool isChanged(string $key)

Checks to see if the provided configuration key's value has changed.

Parameters

string $key

The configuration key to check if it has changed.

Return Value

bool