| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | 2 | public function getCriteriaBuildersForContext( |
|
| 43 | SearchingContextInterface $searchingContext |
||
| 44 | ) { |
||
| 45 | 2 | return new self(array_filter( |
|
| 46 | 2 | $this->getItems(), |
|
| 47 | 2 | function(CriteriaBuilderInterface $criteriaBuilder) use ($searchingContext) { |
|
| 48 | 2 | return $criteriaBuilder->supportsSearchingContext($searchingContext); |
|
| 49 | 2 | } |
|
| 50 | )); |
||
| 51 | } |
||
| 52 | |||
| 61 |