Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
GridAsyncInsert.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Sales\Cron;
7 
15 {
19  protected $asyncInsert;
20 
24  public function __construct(
26  ) {
27  $this->asyncInsert = $asyncInsert;
28  }
29 
43  public function execute()
44  {
45  $this->asyncInsert->asyncInsert();
46  }
47 }
__construct(\Magento\Sales\Model\GridAsyncInsert $asyncInsert)