Example: https://travis-ci.org/symfony-cmf/standard-edition/jobs/98547671#L611
Related: symfony-cmf/routing-bundle#319
Warming up the cache without the database existing results in an exception at the moment, as the Midgard Twig extension requires Doctrine.
Should we create a wrapper which lazily calls $this->container->get('doctrine') instead, to prevent these errors?
Example: https://travis-ci.org/symfony-cmf/standard-edition/jobs/98547671#L611
Related: symfony-cmf/routing-bundle#319
Warming up the cache without the database existing results in an exception at the moment, as the Midgard Twig extension requires Doctrine.
Should we create a wrapper which lazily calls
$this->container->get('doctrine')instead, to prevent these errors?