\App\ConfigModule\ModelsTaskTimeManager

Scheduler's task time specification manager

Summary

Methods
Properties
Constants
cronToArray()
cronToString()
getTime()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

cronToArray()

cronToArray(mixed||string|int  config) : 

Converts a cron time from a string to an array

Parameters

mixed||string|int config

Tasks's configuration

Returns

cronToString()

cronToString(mixed||string|int  config) : 

Converts a cron time from an array to a string

Parameters

mixed||string|int config

Task's configuration

Returns

getTime()

getTime(mixed||string|int  task) : 

Returns task's time

Parameters

mixed||string|int task

Task

Returns

Task's time