Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RestoreDefaultStoreViewStep.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Mtf\TestStep\TestStepInterface;
11 
15 class RestoreDefaultStoreViewStep implements TestStepInterface
16 {
22  private $storeView;
23 
27  public function __construct(Store $storeView)
28  {
29  $this->storeView = $storeView;
30  }
31 
37  public function run()
38  {
39  $this->storeView->persist();
40  }
41 }