1
1
<?php
2
2
/**
3
- * Interception config. Responsible for providing list of plugins configured for instance
4
- *
5
3
* Copyright © Magento, Inc. All rights reserved.
6
4
* See COPYING.txt for license details.
7
5
*/
8
6
namespace Magento \Framework \Interception \Config ;
9
7
10
8
use Magento \Framework \Serialize \SerializerInterface ;
11
9
10
+ /**
11
+ * Interception config.
12
+ *
13
+ * Responsible for providing list of plugins configured for instance
14
+ */
12
15
class Config implements \Magento \Framework \Interception \ConfigInterface
13
16
{
14
17
/**
@@ -110,7 +113,8 @@ public function __construct(
110
113
$ this ->_cacheId = $ cacheId ;
111
114
$ this ->_reader = $ reader ;
112
115
$ 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);
114
118
$ intercepted = $ this ->cacheManager ->load ($ cacheId );
115
119
if ($ intercepted !== null ) {
116
120
$ this ->_intercepted = $ intercepted ;
@@ -166,7 +170,7 @@ protected function _inheritInterception($type)
166
170
}
167
171
168
172
/**
169
- * { @inheritdoc}
173
+ * @inheritdoc
170
174
*/
171
175
public function hasPlugins ($ type )
172
176
{
@@ -193,7 +197,7 @@ private function initializeUncompiled($classDefinitions = [])
193
197
/**
194
198
* Generate intercepted array to store in compiled metadata or frontend cache
195
199
*
196
- * @param $classDefinitions
200
+ * @param array $classDefinitions
197
201
*/
198
202
private function generateIntercepted ($ classDefinitions )
199
203
{
0 commit comments