Refactor ServiceBuilder

This commit is contained in:
Romain Neutron
2012-02-21 16:34:31 +01:00
parent 68183a5b22
commit 2c0a3f619f
2 changed files with 2 additions and 2 deletions

View File

@@ -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())
{ {

View File

@@ -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())
{ {