Subclass of ConfigurationStorage for parameters concerning cron tasks
package |
Default |
---|
__construct(\CI_DB_query_builder $db, \CronjobSettings $cronjobSettings)
_getDefaultFromJson(array $jsonConfiguration, string $configuration) : mixed
If not, an exception is thrown.
Throws |
|
---|
array
Json configuration data.
string
Expected configuration field.
mixed
get(string $scope, string $configuration) : mixed
If nothing was found in storage, a default from the config json file will be used.s
Throws |
|
---|
string
Cronjob configuration scope, e.g.: DeleteLogs
string
Configuration key, e.g.: interval
mixed
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder