diff options
| author | 2015-01-07 15:57:27 +0100 | |
|---|---|---|
| committer | 2015-01-07 15:57:27 +0100 | |
| commit | 91e2d4936d71a72d0aefe9736879099283519239 (patch) | |
| tree | 22ef286a7b8bcb6044fc769701c55d29d3c07fd3 /app/Models/ConfigurationSetter.php | |
| parent | 9c8a80e57f1e2eb60916eae2e2cbed86d991c750 (diff) | |
Add support of configuration_setter
A configuration setter must implement only one method: `handle($key, $value)`.
Before setting a value in configuration, the setter will be called with this
method to check its validity.
If a setter has been assigned to a configuration object, it will be called for
each of its data so be careful to always return a value (or null if you want
to delete the key).
See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
0 files changed, 0 insertions, 0 deletions
