Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function createConfig(array $data, DeploymentConfig $deploymentConfig)
 {
     $configData = [];
     $configData[] = $this->configGenerator->createInstallConfig($deploymentConfig);
     $configData[] = $this->configGenerator->createCryptConfig($data, $deploymentConfig);
     $configData[] = $this->configGenerator->createSessionConfig($data);
     $definitionConfig = $this->configGenerator->createDefinitionsConfig($data);
     if (isset($definitionConfig)) {
         $configData[] = $definitionConfig;
     }
     $configData[] = $this->configGenerator->createDbConfig($data);
     $configData[] = $this->configGenerator->createResourceConfig();
     return $configData;
 }
 /**
  * @deprecated
  */
 public function testCreateInstallConfig()
 {
     $returnValue = $this->configGeneratorObject->createInstallConfig([]);
     $this->assertInstanceOf('Magento\\Framework\\Config\\Data\\ConfigData', $returnValue);
     $this->assertEquals(ConfigFilePool::APP_ENV, $returnValue->getFileKey());
 }