Property | Type | Description | |
---|---|---|---|
$config | Recurr\Transformer\ArrayTransformerConfig | ||
$leapBug | boolean | ..) does not account for leap years. |
Method | Description | |
---|---|---|
__construct ( Recurr\Transformer\ArrayTransformerConfig $config = null ) | Construct a new ArrayTransformer | |
setConfig ( Recurr\Transformer\ArrayTransformerConfig $config ) | ||
transform ( |
Transform a Rule in to an array of \DateTimes |
Method | Description | |
---|---|---|
handleExclusions ( array $exclusions, array $recurrences ) : Recurr\Recurrence[] | ||
handleInclusions ( array $inclusions, array $recurrences ) : Recurr\Recurrence[] |
public __construct ( Recurr\Transformer\ArrayTransformerConfig $config = null ) | ||
$config | Recurr\Transformer\ArrayTransformerConfig |
protected handleExclusions ( array $exclusions, array $recurrences ) : Recurr\Recurrence[] | ||
$exclusions | array | |
$recurrences | array | |
return | Recurr\Recurrence[] |
protected handleInclusions ( array $inclusions, array $recurrences ) : Recurr\Recurrence[] | ||
$inclusions | array | |
$recurrences | array | |
return | Recurr\Recurrence[] |
public setConfig ( Recurr\Transformer\ArrayTransformerConfig $config ) | ||
$config | Recurr\Transformer\ArrayTransformerConfig |
public transform ( |
||
$rule | the Rule object | |
$constraint | Recurr\Transformer\ConstraintInterface | Potential recurrences must pass the constraint, else they will not be included in the returned collection. |
$countConstraintFailures | boolean | Whether recurrences that fail the constraint's test should count towards a rule's COUNT limit. |
return | Recurr\RecurrenceCollection | Recurr\Recurrence[] |
protected ArrayTransformerConfig,Recurr\Transformer $config | ||
return | Recurr\Transformer\ArrayTransformerConfig |
protected bool $leapBug | ||
return | boolean |