Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Cron;
use Magento\Catalog\Model\ResourceModel\Attribute\WebsiteAttributesSynchronizer;
/**
* @deprecated
* @see \Magento\Catalog\Model\Attribute\Backend\WebsiteSpecific\ValueSynchronizer
*/
class SynchronizeWebsiteAttributes
{
/**
* @var WebsiteAttributesSynchronizer
*/
private $synchronizer;
/**
* @param WebsiteAttributesSynchronizer $synchronizer
*/
public function __construct(WebsiteAttributesSynchronizer $synchronizer)
{
$this->synchronizer = $synchronizer;
}
/**
* Synchronizes website attribute values if needed
*
* @return void
*/
public function execute()
{
if ($this->synchronizer->isSynchronizationRequired()) {
$this->synchronizer->synchronize();
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Cron;
use Magento\Catalog\Model\ResourceModel\Attribute\WebsiteAttributesSynchronizer;
/**
* @deprecated
* @see \Magento\Catalog\Model\Attribute\Backend\WebsiteSpecific\ValueSynchronizer
*/
class SynchronizeWebsiteAttributes
{
/**
* @var WebsiteAttributesSynchronizer
*/
private $synchronizer;
/**
* @param WebsiteAttributesSynchronizer $synchronizer
*/
public function __construct(WebsiteAttributesSynchronizer $synchronizer)
{
$this->synchronizer = $synchronizer;
}
/**
* Synchronizes website attribute values if needed
*
* @return void
*/
public function execute()
{
if ($this->synchronizer->isSynchronizationRequired()) {
$this->synchronizer->synchronize();
}
}
}
Function Calls
None |
Stats
MD5 | 2498d619a1d794ed11d3a8958be33960 |
Eval Count | 0 |
Decode Time | 84 ms |