Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
mapped_simple_di_config.php File Reference

Go to the source code of this file.

Variables

 return ['preferences'=> ['Magento\Framework\Module\SomeInterface'=> 'Magento\Framework\Module\ClassOne', 'Magento\Framework\App\RequestInterface'=> 'Magento\Framework\App\Request\Http\Proxy',], 'Magento\Framework\App\State'=> ['arguments'=> ['test name'=> 'test value']], 'Magento\Config\Model\Config\Modules'=> ['arguments'=> ['test name'=> 'test value'], 'plugins'=> ['simple_modules_plugin'=> ['sortOrder'=> 10, 'disabled'=> true, 'instance'=> 'Magento\Config\Model\Config\Modules\Plugin',], 'simple_modules_plugin_advanced'=> ['sortOrder'=> 0, 'instance'=> 'Magento\Config\Model\Config\Modules\PluginAdvanced',], 'overridden_plugin'=> ['sortOrder'=> 30, 'disabled'=> true],],], 'Magento\SomeComponent\UnsharedType'=> ['shared'=> false, 'arguments'=> ['test name'=> 'test value'],], 'customCacheInstance'=> ['shared'=> true, 'type'=> \Magento\Framework\App\Cache::class, 'arguments'=> [],], 'customOverriddenInstance'=> ['shared'=> false, 'arguments'=> [],]]
 

Variable Documentation

◆ return

return[ 'preferences'=> [ 'Magento\Framework\Module\SomeInterface'=> 'Magento\Framework\Module\ClassOne', 'Magento\Framework\App\RequestInterface'=> 'Magento\Framework\App\Request\Http\Proxy',], 'Magento\Framework\App\State'=> [ 'arguments'=> [ 'test name'=> 'test value']], 'Magento\Config\Model\Config\Modules'=> [ 'arguments'=> [ 'test name'=> 'test value'], 'plugins'=> [ 'simple_modules_plugin'=> [ 'sortOrder'=> 10, 'disabled'=> true, 'instance'=> 'Magento\Config\Model\Config\Modules\Plugin',], 'simple_modules_plugin_advanced'=> [ 'sortOrder'=> 0, 'instance'=> 'Magento\Config\Model\Config\Modules\PluginAdvanced',], 'overridden_plugin'=> [ 'sortOrder'=> 30, 'disabled'=> true],],], 'Magento\SomeComponent\UnsharedType'=> [ 'shared'=> false, 'arguments'=> [ 'test name'=> 'test value'],], 'customCacheInstance'=> [ 'shared'=> true, 'type'=> \Magento\Framework\App\Cache::class, 'arguments'=> [],], 'customOverriddenInstance'=> [ 'shared'=> false, 'arguments'=> [],]]

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 40 of file mapped_simple_di_config.php.