Lines
0.00%
0 / 1
Functions and Methods
0.00%
0 / 1
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| RecordedHistoryQueryCollection | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | 0.00% | 0 / 1 | |||
| withRecordedQuery | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Testing\HaContext\Collection; | |
| 6 | ||
| 7 | use Stewart\Contracts\Collection\ListCollection; | |
| 8 | use Stewart\Testing\HaContext\RecordedHistoryQuery; | |
| 9 | ||
| 10 | /** @extends ListCollection<RecordedHistoryQuery> */ | |
| 11 | final readonly class RecordedHistoryQueryCollection extends ListCollection | |
| 12 | { | |
| 13 | public function withRecordedQuery(RecordedHistoryQuery $query): self | |
| 14 | { | |
| 15 | return $this->withAppendedElement($query); | |
| 16 | } | |
| 17 | } |