Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| FakeCount | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Core\Attributes; |
| 3 | |
| 4 | use Attribute; |
| 5 | |
| 6 | /** |
| 7 | * This is only used by the FakeDataLayer to tell the amount of faked data the list should simulate. |
| 8 | */ |
| 9 | #[Attribute(Attribute::TARGET_CLASS)] |
| 10 | final class FakeCount |
| 11 | { |
| 12 | public int $count; |
| 13 | |
| 14 | public function __construct(int $count) |
| 15 | { |
| 16 | $this->count = $count; |
| 17 | } |
| 18 | } |