예제 #1
0
 public static function setUpBeforeClass()
 {
     /** @var \Magento\Framework\App\DeploymentConfig $config */
     $config = Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\DeploymentConfig');
     $data = $config->getSegment(ConfigSegment::SEGMENT_KEY);
     self::$typesSegment = new ConfigSegment($data);
 }
예제 #2
0
 public static function setUpBeforeClass()
 {
     /** @var \Magento\Framework\App\DeploymentConfig $config */
     $config = Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\DeploymentConfig');
     self::$typesConfig = $config->get(State::CACHE_KEY);
 }