Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | abstract class Base |
||
10 | { |
||
11 | /** @var Generator $generator */ |
||
12 | protected $generator; |
||
13 | |||
14 | /** @var MaxDistinctGenerator $distinct */ |
||
15 | protected $distinct; |
||
16 | |||
17 | public function __construct(Generator $generator) |
||
18 | { |
||
19 | $this->generator = $generator; |
||
20 | } |
||
21 | |||
22 | public function maxDistinct($maxElements = 100, $reset = false) |
||
29 | } |
||
30 | } |
||
31 |