@@ -277,4 +277,34 @@ protected function _loadPrimaryConfig(DirectoryList $directoryList, $driverPool,
277
277
}
278
278
return $ configData ;
279
279
}
280
+
281
+ /**
282
+ * Crete plugin list object
283
+ *
284
+ * @param \Magento\Framework\ObjectManagerInterface $objectManager
285
+ * @param \Magento\Framework\ObjectManager\RelationsInterface $relations
286
+ * @param \Magento\Framework\ObjectManager\DefinitionFactory $definitionFactory
287
+ * @param \Magento\Framework\ObjectManager\Config\Config $diConfig
288
+ * @param \Magento\Framework\ObjectManager\DefinitionInterface $definitions
289
+ * @return \Magento\Framework\Interception\PluginList\PluginList
290
+ * @deprecated
291
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
292
+ */
293
+ protected function _createPluginList (
294
+ \Magento \Framework \ObjectManagerInterface $ objectManager ,
295
+ \Magento \Framework \ObjectManager \RelationsInterface $ relations ,
296
+ \Magento \Framework \ObjectManager \DefinitionFactory $ definitionFactory ,
297
+ \Magento \Framework \ObjectManager \Config \Config $ diConfig ,
298
+ \Magento \Framework \ObjectManager \DefinitionInterface $ definitions
299
+ ) {
300
+ return $ objectManager ->create (
301
+ \Magento \Framework \Interception \PluginList \PluginList::class,
302
+ [
303
+ 'relations ' => $ relations ,
304
+ 'definitions ' => $ definitionFactory ->createPluginDefinition (),
305
+ 'omConfig ' => $ diConfig ,
306
+ 'classDefinitions ' => null
307
+ ]
308
+ );
309
+ }
280
310
}
0 commit comments