-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #640 from magento-jackalopes/pr
Issues Fixed: - MAGETWO-58446 Remove uses of unserialize in usages of \Magento\Framework\Cache\FrontendInterface::load() - MAGETWO-58450 Remove uses of unserialize in usages of \Magento\Framework\App\CacheInterface::load() - MAGETWO-58680 Remove uses of unserialize in usages of \Magento\Framework\Cache\FrontendInterface::load() 2 - MAGETWO-60442 Add optional SerializerInterface dependency to child classes of \Magento\Framework\Config\Data - MAGETWO-60353 Replace json_decode in \Magento\Framework\ObjectManager\DefinitionFactory::_unpack with SerializerInterface
- Loading branch information
Showing
174 changed files
with
4,221 additions
and
3,364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
<?php | ||
/** | ||
* Catalog attributes configuration data container. Provides catalog attributes configuration data. | ||
* | ||
* Copyright © 2016 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Catalog\Model\Attribute\Config; | ||
|
||
use Magento\Framework\Serialize\SerializerInterface; | ||
|
||
/** | ||
* Provides catalog attributes configuration | ||
*/ | ||
class Data extends \Magento\Framework\Config\Data | ||
{ | ||
/** | ||
* Constructor | ||
* | ||
* @param \Magento\Catalog\Model\Attribute\Config\Reader $reader | ||
* @param \Magento\Framework\Config\CacheInterface $cache | ||
* @param string|null $cacheId | ||
* @param SerializerInterface|null $serializer | ||
*/ | ||
public function __construct( | ||
\Magento\Catalog\Model\Attribute\Config\Reader $reader, | ||
\Magento\Framework\Config\CacheInterface $cache | ||
\Magento\Framework\Config\CacheInterface $cache, | ||
$cacheId = 'catalog_attributes', | ||
SerializerInterface $serializer = null | ||
) { | ||
parent::__construct($reader, $cache, 'catalog_attributes'); | ||
parent::__construct($reader, $cache, $cacheId, $serializer); | ||
} | ||
} |
Oops, something went wrong.