Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Website.php
Go to the documentation of this file.
1 <?php
7 
9 
10 class Website
11 {
16 
21  {
22  $this->ruleProductProcessor = $ruleProductProcessor;
23  }
24 
34  public function afterDelete(
35  \Magento\Store\Model\Website $subject,
36  \Magento\Store\Model\Website $result
37  ) {
38  $this->ruleProductProcessor->markIndexerAsInvalid();
39  return $result;
40  }
41 }
afterDelete(\Magento\Store\Model\Website $subject, \Magento\Store\Model\Website $result)
Definition: Website.php:34
__construct(RuleProductProcessor $ruleProductProcessor)
Definition: Website.php:20