Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
GridPool.php
Go to the documentation of this file.
1 <?php
8 
14 class GridPool
15 {
19  protected $grids;
20 
24  public function __construct(array $grids)
25  {
26  $this->grids = $grids;
27  }
28 
35  public function refreshByOrderId($orderId)
36  {
37  foreach ($this->grids as $grid) {
38  $grid->refresh($orderId, $grid->getOrderIdField());
39  }
40 
41  return $this;
42  }
43 }