Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
11 | public function process($collectionEntity, array $context = array()) |
||
12 | { |
||
13 | /** @var ContextAwareCollectionDataProviderInterface $dataProvider */ |
||
14 | $dataProvider = $this->container->get(ContextAwareCollectionDataProviderInterface::class); |
||
15 | $dataProviderContext = []; |
||
16 | $collection = $dataProvider->getCollection($collectionEntity->getResource(), Request::METHOD_GET, $dataProviderContext); |
||
17 | $collectionEntity->setCollection($collection); |
||
18 | } |
||
32 |