Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
QueryProcessorComposite.php
Go to the documentation of this file.
1 <?php
8 
10 {
14  private $queryProcessors;
15 
20  public function __construct(array $queryProcessors = [])
21  {
22  $this->queryProcessors = $queryProcessors;
23  }
24 
31  public function processQuery(\Magento\Framework\DB\Select $select, $entityIds = null, $usePrimaryTable = false)
32  {
33  foreach ($this->queryProcessors as $queryProcessor) {
34  $select = $queryProcessor->processQuery($select, $entityIds, $usePrimaryTable);
35  }
36  return $select;
37  }
38 }
processQuery(\Magento\Framework\DB\Select $select, $entityIds=null, $usePrimaryTable=false)