/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
setup/src/Magento/Setup/Model/ModuleContext.php
41 строка
693 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 11:23
22 окт 2025, 11:23
6c2f6e6
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Setup\Model; use Magento\Framework\Setup\ModuleContextInterface; /** * Context of a module being installed/updated: version, user data, etc. * * @api */ class ModuleContext implements ModuleContextInterface { /** * Current version of a module * * @var string */ private $version; /** * Init * * @param string $version Current version of a module */ public function __construct($version) { $this->version = $version; } /** * {@inheritdoc} */ public function getVersion() { return $this->version; } }