Skip to content

Commit 5db83d3

Browse files
authored
ENGCOM-3243: Write intercepted mapping to generated/metadata during compilation #18648
Fixed dockblock
1 parent 9135654 commit 5db83d3

File tree

1 file changed

+9
-5
lines changed
  • lib/internal/Magento/Framework/Interception/Config

1 file changed

+9
-5
lines changed

lib/internal/Magento/Framework/Interception/Config/Config.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?php
22
/**
3-
* Interception config. Responsible for providing list of plugins configured for instance
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
86
namespace Magento\Framework\Interception\Config;
97

108
use Magento\Framework\Serialize\SerializerInterface;
119

10+
/**
11+
* Interception config.
12+
*
13+
* Responsible for providing list of plugins configured for instance
14+
*/
1215
class Config implements \Magento\Framework\Interception\ConfigInterface
1316
{
1417
/**
@@ -110,7 +113,8 @@ public function __construct(
110113
$this->_cacheId = $cacheId;
111114
$this->_reader = $reader;
112115
$this->_scopeList = $scopeList;
113-
$this->cacheManager = $cacheManager ?? \Magento\Framework\App\ObjectManager::getInstance()->get(CacheManager::class);
116+
$this->cacheManager =
117+
$cacheManager ?? \Magento\Framework\App\ObjectManager::getInstance()->get(CacheManager::class);
114118
$intercepted = $this->cacheManager->load($cacheId);
115119
if ($intercepted !== null) {
116120
$this->_intercepted = $intercepted;
@@ -166,7 +170,7 @@ protected function _inheritInterception($type)
166170
}
167171

168172
/**
169-
* {@inheritdoc}
173+
* @inheritdoc
170174
*/
171175
public function hasPlugins($type)
172176
{
@@ -193,7 +197,7 @@ private function initializeUncompiled($classDefinitions = [])
193197
/**
194198
* Generate intercepted array to store in compiled metadata or frontend cache
195199
*
196-
* @param $classDefinitions
200+
* @param array $classDefinitions
197201
*/
198202
private function generateIntercepted($classDefinitions)
199203
{

0 commit comments

Comments
 (0)