Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-catalog
Cron
SynchronizeWebsiteAttributes.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Cron
;
8
9
use
Magento\Catalog\Model\ResourceModel\Attribute\WebsiteAttributesSynchronizer
;
10
15
class
SynchronizeWebsiteAttributes
16
{
20
private
$synchronizer;
21
26
public
function
__construct
(
WebsiteAttributesSynchronizer
$synchronizer)
27
{
28
$this->synchronizer = $synchronizer;
29
}
30
35
public
function
execute
()
36
{
37
if
($this->synchronizer->isSynchronizationRequired()) {
38
$this->synchronizer->synchronize();
39
}
40
}
41
}
Magento\Catalog\Model\ResourceModel\Attribute\WebsiteAttributesSynchronizer
Definition:
WebsiteAttributesSynchronizer.php:22
Magento\Catalog\Cron\SynchronizeWebsiteAttributes\__construct
__construct(WebsiteAttributesSynchronizer $synchronizer)
Definition:
SynchronizeWebsiteAttributes.php:26
Magento\Catalog\Cron\SynchronizeWebsiteAttributes\execute
execute()
Definition:
SynchronizeWebsiteAttributes.php:35
Magento\Catalog\Cron\SynchronizeWebsiteAttributes
Definition:
SynchronizeWebsiteAttributes.php:15
Magento\Catalog\Cron
Definition:
DeleteOutdatedPriceValuesTest.php:6