/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Setup/SampleData/Context.php
58 строк
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Framework\Setup\SampleData; use \Magento\Framework\File\Csv; /** * Constructor modification point for Magento\Framework\Setup\SampleData. * * All context classes were introduced to allow for backwards compatible constructor modifications * of classes that were supposed to be extended by extension developers. * * Do not call methods of this class directly. * * As Magento moves from inheritance-based APIs all such classes will be deprecated together with * the classes they were introduced for. */ class Context { /** * @var FixtureManager */ private $fixtureManager; /** * @var Csv */ private $csvReader; /** * @param FixtureManager $fixtureManager * @param Csv $csvReader */ public function __construct(FixtureManager $fixtureManager, Csv $csvReader) { $this->fixtureManager = $fixtureManager; $this->csvReader = $csvReader; } /** * @return FixtureManager */ public function getFixtureManager() { return $this->fixtureManager; } /** * @return Csv */ public function getCsvReader() { return $this->csvReader; } }