Lines Matching refs:this

15  * The determinations made by this class are accurate if checked run once per
114 $this->fieldFactory = $fieldFactory;
115 $this->setExpression($expression);
128 $this->cronParts = preg_split('/\s/', $value, -1, PREG_SPLIT_NO_EMPTY);
129 if (count($this->cronParts) < 5) {
135 foreach ($this->cronParts as $position => $part) {
136 $this->setPart($position, $part);
139 return $this;
153 if (!$this->fieldFactory->getField($position)->validate($value)) {
159 $this->cronParts[$position] = $value;
161 return $this;
173 $this->maxIterationCount = $maxIterationCount;
175 return $this;
185 * time. Setting this value to 1 will skip the first match and go to
186 * the second match. Setting this value to 2 will skip the first 2
196 return $this->getRunDate($currentTime, $nth, false, $allowCurrentDate);
213 return $this->getRunDate($currentTime, $nth, true, $allowCurrentDate);
232 $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate);
253 return implode(' ', $this->cronParts);
254 } elseif (array_key_exists($part, $this->cronParts)) {
255 return $this->cronParts[$part];
268 return $this->getExpression();
304 return $this->getNextRunDate($currentDate, 0, true)->getTimestamp() == $currentTime;
342 $part = $this->getExpression($position);
347 $fields[$position] = $this->fieldFactory->getField($position);
351 for ($i = 0; $i < $this->maxIterationCount; $i++) {
355 // Get the field object used to validate this part
357 // Check if this is singular or a list
376 // Skip this match if needed
378 $this->fieldFactory->getField(0)->increment($nextRun, $invert, isset($parts[0]) ? $parts[0] : null);