@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * If command line options are specified, they will always override the |
| 98 | 98 | * values found in the configuration file. |
| 99 | 99 | * |
| 100 | - * @return \TechDivision\Import\Cli\Configuration The configuration instance |
|
| 100 | + * @return Configuration The configuration instance |
|
| 101 | 101 | * @throws \Exception Is thrown, if the specified configuration file doesn't exist or the mandatory arguments/options to run the requested operation are not available |
| 102 | 102 | */ |
| 103 | 103 | public function load() |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | * @param string $dir The path to the Magento root directory |
| 262 | 262 | * @param string $connectionName The connection name to return the data for |
| 263 | 263 | * |
| 264 | - * @return array The connection data |
|
| 264 | + * @return Database The connection data |
|
| 265 | 265 | * @throws \Exception Is thrown, if the requested DB connection is not available |
| 266 | 266 | */ |
| 267 | 267 | protected function getMagentoDbConnection($dir, $connectionName = 'default') |
@@ -22,11 +22,9 @@ |
||
| 22 | 22 | |
| 23 | 23 | use Psr\Log\LogLevel; |
| 24 | 24 | use Rhumsaa\Uuid\Uuid; |
| 25 | -use TechDivision\Import\App\Simple; |
|
| 26 | 25 | use TechDivision\Import\Utils\EntityTypeCodes; |
| 27 | 26 | use TechDivision\Import\Cli\Command\InputOptionKeys; |
| 28 | 27 | use TechDivision\Import\Cli\Command\InputArgumentKeys; |
| 29 | -use TechDivision\Import\Cli\Configuration\LibraryLoader; |
|
| 30 | 28 | use TechDivision\Import\Cli\Utils\MagentoConfigurationKeys; |
| 31 | 29 | use TechDivision\Import\Configuration\Jms\Configuration; |
| 32 | 30 | use TechDivision\Import\Configuration\Jms\Configuration\Database; |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * |
| 126 | 126 | * @param \Symfony\Component\Console\Input\InputInterface $input The input instance |
| 127 | 127 | * @param \Symfony\Component\DependencyInjection\ContainerInterface $container The container instance |
| 128 | - * @param \TechDivision\Import\Cli\LibraryLoader $libraryLoader The configuration loader instance |
|
| 128 | + * @param LibraryLoader $libraryLoader The configuration loader instance |
|
| 129 | 129 | * @param \TechDivision\Import\ConfigurationFactoryInterface $configurationFactory The configuration factory instance |
| 130 | 130 | * @param \TechDivision\Import\Utils\CommandNames $commandNames The available command names |
| 131 | 131 | * @param \TechDivision\Import\Utils\Mappings\CommandNameToEntityTypeCode $commandNameToEntityTypeCodes The mapping of the command names to the entity type codes |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * If command line options are specified, they will always override the |
| 155 | 155 | * values found in the configuration file. |
| 156 | 156 | * |
| 157 | - * @return \TechDivision\Import\Cli\Configuration The configuration instance |
|
| 157 | + * @return Configuration The configuration instance |
|
| 158 | 158 | * @throws \Exception Is thrown, if the specified configuration file doesn't exist or the mandatory arguments/options to run the requested operation are not available |
| 159 | 159 | */ |
| 160 | 160 | public function load() |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | use Symfony\Component\Console\Input\InputInterface; |
| 24 | 24 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 25 | -use TechDivision\Import\App\Simple; |
|
| 26 | 25 | use TechDivision\Import\Utils\CommandNames; |
| 27 | 26 | use TechDivision\Import\Utils\EntityTypeCodes; |
| 28 | 27 | use TechDivision\Import\Cli\Command\InputOptionKeys; |
@@ -32,7 +31,6 @@ discard block |
||
| 32 | 31 | use TechDivision\Import\Utils\Mappings\CommandNameToEntityTypeCode; |
| 33 | 32 | use TechDivision\Import\ConfigurationFactoryInterface; |
| 34 | 33 | use TechDivision\Import\Configuration\Jms\Configuration; |
| 35 | -use TechDivision\Import\Configuration\Jms\ConfigurationFactory; |
|
| 36 | 34 | |
| 37 | 35 | /** |
| 38 | 36 | * The configuration loader implementation. |