You are here

public static function JobSchedulerCronTabInterface::parse in Job Scheduler 8.3

Same name and namespace in other branches
  1. 8.2 src/JobSchedulerCronTabInterface.php \Drupal\job_scheduler\JobSchedulerCronTabInterface::parse()

Parses a full crontab string into an array of type => values.

Note this one is static and can be used to validate values.

Parameters

string $crontab: The crontab string to parse.

Return value

array The parsed crontab array.

1 method overrides JobSchedulerCronTabInterface::parse()
JobSchedulerCronTab::parse in src/JobSchedulerCronTab.php
Parses a full crontab string into an array of type => values.

File

src/JobSchedulerCronTabInterface.php, line 21

Class

JobSchedulerCronTabInterface
Provides an interface for JobSchedulerCronTab.

Namespace

Drupal\job_scheduler

Code

public static function parse($crontab);