Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | namespace Apie\DateValueObjects\Interfaces; |
3 | |
4 | use Apie\Core\ValueObjects\Interfaces\TimeRelatedValueObjectInterface; |
5 | |
6 | /** |
7 | * @see CanHaveYearIntervals |
8 | */ |
9 | interface WorksWithYears extends TimeRelatedValueObjectInterface |
10 | { |
11 | public function withYear(int $year): self; |
12 | public function nextYear(): self; |
13 | public function previousYear(): self; |
14 | } |