]> git.immae.eu Git - github/wallabag/wallabag.git/commit - src/Wallabag/CoreBundle/Repository/EntryRepository.php
Use translator interface instead of final class 1587/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 17 Jan 2016 11:52:30 +0000 (12:52 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 17 Jan 2016 11:56:04 +0000 (12:56 +0100)
commite678c4752a35b06c0a77d17fc23aa2de6abc4e18
tree0a3ef880443999636585dd17ff1f6147541b44ff
parent3bcc4d4cb29abeedb48b1f297f1a65a02998ff69
Use translator interface instead of final class

Symfony use a different class when in dev mode and prod mode.

Prod loads `Symfony\Bundle\FrameworkBundle\Translation\Translator`.
Dev loads `Symfony\Component\Translation\DataCollectorTranslator` to gather information for the debug bar.

Fix #1585
src/Wallabag/CoreBundle/Repository/EntryRepository.php
src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php
src/Wallabag/UserBundle/Tests/Mailer/AuthCodeMailerTest.php