Skip to content

Commit

Permalink
configuration: add database connection and translator default autowir…
Browse files Browse the repository at this point in the history
…e types
  • Loading branch information
TomasVotruba committed Feb 25, 2016
1 parent 4c6875a commit 83c9000
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config/Definition/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ final class Configuration implements ConfigurationInterface
private $defaultAutowireTypes = [
'doctrine.orm.default_entity_manager' => 'Doctrine\ORM\EntityManagerInterface',
'event_dispatcher' => 'Symfony\Component\EventDispatcher\EventDispatcherInterface',
'database_connection' => 'Doctrine\Portability\Connection',
'translator' => 'Symfony\Component\Translation\TranslatorInterface',
];

/**
Expand Down

0 comments on commit 83c9000

Please sign in to comment.