79 private $productScopeRewriteGenerator;
111 private function getProductScopeRewriteGenerator()
113 if (!$this->productScopeRewriteGenerator) {
115 ->get(ProductScopeRewriteGenerator::class);
118 return $this->productScopeRewriteGenerator;
137 ->addAttributeToSelect(
'url_key')
138 ->addAttributeToSelect(
'url_path');
156 return $this->getProductScopeRewriteGenerator()->isGlobalScope(
$storeId);
170 return $this->getProductScopeRewriteGenerator()->generateForGlobalScope(
193 return $this->getProductScopeRewriteGenerator()
205 return $this->getProductScopeRewriteGenerator()->isCategoryProperForGenerating(
$category,
$storeId);
$canonicalUrlRewriteGenerator
$categoriesUrlRewriteGenerator
generate(Product $product, $rootCategoryId=null)
isCategoryProperForGenerating($category, $storeId)
$currentUrlRewritesRegenerator
generateForGlobalScope($productCategories, $product=null, $rootCategoryId=null)
generateForSpecificStoreView( $storeId, $productCategories, $product=null, $rootCategoryId=null)
const VISIBILITY_NOT_VISIBLE
__construct(CanonicalUrlRewriteGenerator $canonicalUrlRewriteGenerator, CurrentUrlRewritesRegenerator $currentUrlRewritesRegenerator, CategoriesUrlRewriteGenerator $categoriesUrlRewriteGenerator, ObjectRegistryFactory $objectRegistryFactory, StoreViewService $storeViewService, \Magento\Store\Model\StoreManagerInterface $storeManager)