aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-07 15:57:27 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-07 15:57:27 +0100
commit91e2d4936d71a72d0aefe9736879099283519239 (patch)
tree22ef286a7b8bcb6044fc769701c55d29d3c07fd3 /app/Models/ConfigurationSetter.php
parent9c8a80e57f1e2eb60916eae2e2cbed86d991c750 (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