1 | <?php |
||
14 | class ProductUrlPathValidatorObserver implements ObserverInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var UrlPathUsedCheckerContainer |
||
18 | */ |
||
19 | private $urlPathUsedChecker; |
||
20 | |||
21 | /** |
||
22 | * @var StoreManagerInterface |
||
23 | */ |
||
24 | private $storeManager; |
||
25 | |||
26 | /** |
||
27 | * @var ProductResolverInterface |
||
28 | */ |
||
29 | private $productResolver; |
||
30 | |||
31 | /** |
||
32 | * @param UrlPathUsedCheckerContainer $urlPathUsedChecker |
||
33 | * @param StoreManagerInterface $storeManager |
||
34 | * @param ProductResolverInterface $productResolver |
||
35 | */ |
||
36 | public function __construct(UrlPathUsedCheckerContainer $urlPathUsedChecker, StoreManagerInterface $storeManager, ProductResolverInterface $productResolver) |
||
42 | |||
43 | /** |
||
44 | * @param Observer $observer |
||
45 | * @return void |
||
46 | */ |
||
47 | public function execute(Observer $observer) |
||
78 | } |
||
79 |