| 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 = []) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param Recurrence $recurrence |
||
| 35 | * @param \Datetime $datetime |
||
| 36 | * @return \Datetime |
||
| 37 | */ |
||
| 38 | public function apply(Recurrence $recurrence, \Datetime $datetime) |
||
| 46 | } |
||
| 47 |