mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-22 21:35:56 +02:00
Add settings.callbacks.get
This commit is contained in:
@@ -434,6 +434,10 @@ class Settings implements ArrayAccess
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($ret['callbacks']['get'])) {
|
||||
$ret['value'] = $ret['callbacks']['get']($ret['value']);
|
||||
}
|
||||
|
||||
$this->cache[$offset] = $ret;
|
||||
return $ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user