Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class ArrayExampleStore implements ExampleStoreInterface |
||
8 | { |
||
9 | /** @var array<ExampleObj> */ |
||
10 | private array $examples; |
||
11 | |||
12 | /** |
||
13 | * @param array<ExampleObj> $examples |
||
14 | */ |
||
15 | public function __construct(array $examples = []) |
||
16 | { |
||
17 | $this->examples = $examples; |
||
18 | } |
||
19 | |||
20 | public function getExamples(): iterable |
||
23 | } |
||
24 | } |
||
25 |