1 | <?php |
||
14 | class ServiceCollection extends AbstractServiceCollection |
||
15 | { |
||
16 | /** |
||
17 | * @var FeaturetoggleRepositoryInterface |
||
18 | */ |
||
19 | private $featuretoggleRepository; |
||
20 | |||
21 | /** |
||
22 | * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory |
||
23 | * @param FilterBuilder $filterBuilder |
||
24 | * @param SearchCriteriaBuilder $searchCriteriaBuilder |
||
25 | * @param SortOrderBuilder $sortOrderBuilder |
||
26 | * @param FeaturetoggleRepositoryInterface $featuretoggleRepository |
||
27 | */ |
||
28 | public function __construct( |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function loadData($printQuery = false, $logQuery = false) |
||
57 | |||
58 | /** |
||
59 | * Creates a collection item that represents a featuretoggle for the features Grid. |
||
60 | * |
||
61 | * @param FeaturetoggleInterface $featuretoggle Input data for creating the item. |
||
62 | * @return \Magento\Framework\Object Collection item that represents a warehouse |
||
63 | */ |
||
64 | protected function createFeaturetoggleItem(FeaturetoggleInterface $featuretoggle) |
||
72 | } |
||
73 |