private function getCollection($constraint)
    {
        $rRule = new RecurrRule($this->getRrule(), $this->getStartDate());
        $rRuleTransformer = new ArrayTransformer();
        return $rRuleTransformer->transform($rRule, $constraint);
    }
private function getCollection($constraint)
    {
        $rRule = new RecurrRule($this->getRrule(), $this->getStartDate());
        $rRuleTransformer = new ArrayTransformer();
        return $rRuleTransformer->transform($rRule, $constraint);
    }
private function getCollection ( $ constraint ) { $ rRule = new RecurrRule ( $ this -> getRrule ( ) , $ this -> getStartDate ( ) ) ; $ rRuleTransformer = new ArrayTransformer ( ) ; return $ rRuleTransformer -> transform ( $ rRule , $ constraint ) ; }
Get recurrence collection by given constraint

@param $constraint
@return Recurrence[]|\Recurr\RecurrenceCollection
@throws \Recurr\Exception\InvalidRRule
@throws \Recurr\Exception\InvalidWeekday
Get recurrence collection by given constraint