| 1 | <?php |
||
| 11 | class ExcludeDaysOfWeekConstraint implements RecurrenceConstraintInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | private $excludedDays = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param array $excludedDays |
||
| 21 | */ |
||
| 22 | public function __construct(array $excludedDays = []) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param Recurrence $recurrence |
||
| 45 | * @param \Datetime $datetime |
||
| 46 | * @return \Datetime |
||
| 47 | */ |
||
| 48 | public function apply(Recurrence $recurrence, \Datetime $datetime) |
||
| 56 | } |
||
| 57 |