private function UltimateCronRulesUnitTestCase::getIntervals in Ultimate Cron 7
Same name and namespace in other branches
- 6 tests/rules.test \UltimateCronRulesUnitTestCase::getIntervals()
- 7.2 tests/rules.test \UltimateCronRulesUnitTestCase::getIntervals()
3 calls to UltimateCronRulesUnitTestCase::getIntervals()
File
- tests/
rules.test, line 22 - Tests for Ultimate Cron's cron parser
Class
Code
private function getIntervals($rule) {
// Generate result message
require_once dirname(__FILE__) . '/../CronRule.class.php';
$message = array();
$cron = new CronRule($rule);
return $cron
->getIntervals();
}