Author: Dries De Peuter (dries@nousefreak.be)
Inheritance: implements Cron\Validator\ValidatorInterface
Beispiel #1
0
 /**
  * @param string $pattern
  *
  * @throws \InvalidArgumentException
  */
 public function setPattern($pattern)
 {
     $pattern = $this->validator->validate($pattern);
     $this->parts = $this->parsePattern($pattern);
     $this->pattern = $pattern;
 }