mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
refactor service interface
This commit is contained in:
@@ -466,7 +466,7 @@ class module_console_fileEnsureDevSetting extends Command
|
||||
|
||||
try
|
||||
{
|
||||
Core\Service\Builder::create(\bootstrap::getCore(), $templateEngineName, $configuration);
|
||||
Core\Service\Builder::create(\bootstrap::getCore(), $configuration);
|
||||
$work_message = '<info>Works !</info>';
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -592,7 +592,7 @@ class module_console_fileEnsureDevSetting extends Command
|
||||
|
||||
try
|
||||
{
|
||||
$service = Core\Service\Builder::create(\bootstrap::getCore(), $ormName, $configuration);
|
||||
$service = Core\Service\Builder::create(\bootstrap::getCore(), $configuration);
|
||||
$work_message = '<info>Works !</info>';
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -774,7 +774,7 @@ class module_console_fileEnsureDevSetting extends Command
|
||||
$conf = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $conf
|
||||
\bootstrap::getCore(), $conf
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -845,7 +845,7 @@ class module_console_fileEnsureDevSetting extends Command
|
||||
$originalConfiguration = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $originalConfiguration
|
||||
\bootstrap::getCore(), $originalConfiguration
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -879,7 +879,7 @@ class module_console_fileEnsureDevSetting extends Command
|
||||
$originalConfiguration = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $originalConfiguration
|
||||
\bootstrap::getCore(), $originalConfiguration
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
|
@@ -460,7 +460,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
||||
|
||||
try
|
||||
{
|
||||
Core\Service\Builder::create(\bootstrap::getCore(), $templateEngineName, $configuration);
|
||||
Core\Service\Builder::create(\bootstrap::getCore(), $configuration);
|
||||
$work_message = '<info>Works !</info>';
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -586,7 +586,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
||||
|
||||
try
|
||||
{
|
||||
$service = Core\Service\Builder::create(\bootstrap::getCore(), $ormName, $configuration);
|
||||
$service = Core\Service\Builder::create(\bootstrap::getCore(), $configuration);
|
||||
$work_message = '<info>Works !</info>';
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -781,7 +781,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
||||
$conf = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $conf
|
||||
\bootstrap::getCore(), $conf
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -852,7 +852,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
||||
$originalConfiguration = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $originalConfiguration
|
||||
\bootstrap::getCore(), $originalConfiguration
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
@@ -886,7 +886,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
||||
$originalConfiguration = $this->configuration->getService($ServiceName);
|
||||
|
||||
$Service = Core\Service\Builder::create(
|
||||
\bootstrap::getCore(), $ServiceName, $originalConfiguration
|
||||
\bootstrap::getCore(), $originalConfiguration
|
||||
);
|
||||
}
|
||||
catch (\Exception $e)
|
||||
|
Reference in New Issue
Block a user