diff --git a/Command/PhingCommand.php b/Command/PhingCommand.php index 2113c84..2930cf3 100644 --- a/Command/PhingCommand.php +++ b/Command/PhingCommand.php @@ -330,7 +330,7 @@ EOT; */ protected function checkConfiguration() { - $parameters = $this->container->get('propel.configuration')->getParameters(); + $parameters = $this->getContainer()->get('propel.configuration')->getParameters(); if (!isset($parameters['datasources']) || 0 === count($parameters['datasources'])) { throw new \RuntimeException('Propel should be configured (no database configuration found).');