| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PaginationItemElement extends Element implements PaginationItemInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | public static string $tag = 'a'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param bool $active |
||
| 17 | * |
||
| 18 | * @return static |
||
| 19 | */ |
||
| 20 | public function active(bool $active): static |
||
| 21 | { |
||
| 22 | return $this; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param bool $enabled |
||
| 27 | * |
||
| 28 | * @return static |
||
| 29 | */ |
||
| 30 | public function enabled(bool $enabled): static |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param int $number |
||
| 37 | * |
||
| 38 | * @return static |
||
| 39 | */ |
||
| 40 | public function number(int $number): static |
||
| 43 | } |
||
| 44 | } |
||
| 45 |