Lines Matching refs:part
135 foreach ($this->cronParts as $position => $part) {
136 $this->setPart($position, $part);
143 * Set part of the CRON expression
149 * @throws \InvalidArgumentException if the value is not valid for the part
242 * Get all or part of the CRON expression
244 * @param string $part Specify the part to retrieve or NULL to get the full
247 * @return string|null Returns the CRON expression, a part of the
248 * CRON expression, or NULL if the part was specified but not found
250 public function getExpression($part = null)
252 if (null === $part) {
254 } elseif (array_key_exists($part, $this->cronParts)) {
255 return $this->cronParts[$part];
342 $part = $this->getExpression($position);
343 if (null === $part || '*' === $part) {
346 $parts[$position] = $part;
353 foreach ($parts as $position => $part) {
355 // Get the field object used to validate this part
358 if (strpos($part, ',') === false) {
359 $satisfied = $field->isSatisfiedBy($nextRun, $part);
361 foreach (array_map('trim', explode(',', $part)) as $listPart) {
371 $field->increment($nextRun, $invert, $part);