/** * @covers Cron\MonthField::validate */ public function testValdatesField() { $f = new MonthField(); $this->assertTrue($f->validate('12')); $this->assertTrue($f->validate('*')); $this->assertTrue($f->validate('*/10,2,1-12')); }
public function validate($value) { return parent::validate($this->replaceHashValue($value)); }