Свойство | Тип | Описание | |
---|---|---|---|
$config | Recurr\Transformer\ArrayTransformerConfig | ||
$leapBug | boolean | ..) does not account for leap years. |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | Recurr\Recurrence[] |
protected handleInclusions ( array $inclusions, array $recurrences ) : Recurr\Recurrence[] | ||
$inclusions | array | |
$recurrences | array | |
Результат | 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. |
Результат | Recurr\RecurrenceCollection | Recurr\Recurrence[] |
protected ArrayTransformerConfig,Recurr\Transformer $config | ||
Результат | Recurr\Transformer\ArrayTransformerConfig |
protected bool $leapBug | ||
Результат | boolean |