Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Context.php
Go to the documentation of this file.
1 <?php
7 
23 class Context extends \Magento\Framework\Module\Setup\Context
24 {
28  protected $attributeMapper;
29 
43  public function __construct(
44  \Psr\Log\LoggerInterface $logger,
45  \Magento\Framework\Event\ManagerInterface $eventManager,
46  \Magento\Framework\App\ResourceConnection $appResource,
47  \Magento\Framework\Module\Dir\Reader $modulesReader,
48  \Magento\Framework\Module\ModuleListInterface $moduleList,
49  \Magento\Framework\Module\ResourceInterface $resource,
50  \Magento\Framework\Module\Setup\MigrationFactory $migrationFactory,
51  \Magento\Framework\Encryption\EncryptorInterface $encryptor,
52  \Magento\Framework\Filesystem $filesystem,
54  ) {
55  $this->attributeMapper = $attributeMapper;
56  parent::__construct(
57  $logger,
58  $eventManager,
59  $appResource,
60  $modulesReader,
61  $moduleList,
62  $resource,
63  $migrationFactory,
64  $encryptor,
66  );
67  }
68 
72  public function getAttributeMapper()
73  {
75  }
76 }
$resource
Definition: bulk.php:12
$logger
__construct(\Psr\Log\LoggerInterface $logger, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Framework\App\ResourceConnection $appResource, \Magento\Framework\Module\Dir\Reader $modulesReader, \Magento\Framework\Module\ModuleListInterface $moduleList, \Magento\Framework\Module\ResourceInterface $resource, \Magento\Framework\Module\Setup\MigrationFactory $migrationFactory, \Magento\Framework\Encryption\EncryptorInterface $encryptor, \Magento\Framework\Filesystem $filesystem, PropertyMapperInterface $attributeMapper)
Definition: Context.php:43