mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Refactor ServiceBuilder
This commit is contained in:
@@ -347,7 +347,7 @@ class module_console_fileConfigCheck extends Command
|
|||||||
|
|
||||||
if ($service->getType() === 'twig')
|
if ($service->getType() === 'twig')
|
||||||
{
|
{
|
||||||
$twig = $service->getService();
|
$twig = $service->getDriver();
|
||||||
|
|
||||||
if (self::PROD === $this->env && $twig->isDebug())
|
if (self::PROD === $this->env && $twig->isDebug())
|
||||||
{
|
{
|
||||||
|
@@ -376,7 +376,7 @@ class module_console_fileEnsureProductionSetting extends Command
|
|||||||
|
|
||||||
if ($service->getType() === 'twig')
|
if ($service->getType() === 'twig')
|
||||||
{
|
{
|
||||||
$twig = $service->getService();
|
$twig = $service->getDriver();
|
||||||
|
|
||||||
if ($twig->isDebug())
|
if ($twig->isDebug())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user