Esempio n. 1
0
 /**
  * @param \Spryker\Zed\Oms\Persistence\OmsQueryContainerInterface $queryContainer
  * @param \Spryker\Zed\Oms\OmsConfig $config
  */
 public function __construct(OmsQueryContainerInterface $queryContainer, OmsConfig $config)
 {
     $this->queryContainer = $queryContainer;
     $this->config = $config;
     $this->processes = $this->getProcesses();
     $orderItems = $this->queryContainer->queryMatrixOrderItems(array_keys($this->processes), $this->getStateBlacklist())->find();
     $this->orderItems = $this->preProcessItems($orderItems);
 }