| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class AReversiblePattern extends APattern |
||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | ?int $interval = null, |
||
| 15 | protected bool $reversed = false |
||
| 16 | ) { |
||
| 17 | parent::__construct($interval); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getPattern(): Traversable |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function reversedPattern(): Traversable |
||
| 34 | ) |
||
| 35 | ); |
||
| 38 |