class OverrideSettingsRepository implements SettingsRepositoryInterface
A settings repository decorator that allows overriding certain values.
The OverrideSettingsRepository
class decorates another
SettingsRepositoryInterface
instance but allows certain settings to be
overridden with predefined values. It does not affect writing methods.
Within Flarum, this can be used to test out new setting values in a system before they are committed to the database.
Properties
protected | $inner | |||
protected | $overrides |