Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function process(ExampleStoreInterface $store): ExampleStoreInterface |
||
22 | { |
||
23 | $examples = []; |
||
24 | |||
25 | foreach ($store->getExamples() as $example) { |
||
26 | if ($this->filter->matches($example->getName()->getFullName())) { |
||
27 | $examples[] = $example; |
||
28 | } |
||
29 | } |
||
30 | |||
31 | return new ArrayExampleStore($examples); |
||
32 | } |
||
34 |