프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |