mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-15 19:42:08 +00:00
Use FQCN as service name for repositories
This commit is contained in:
parent
844e8e9d22
commit
0f9c359476
17 changed files with 68 additions and 50 deletions
|
@ -9,6 +9,7 @@ use Symfony\Component\Console\Input\InputInterface;
|
|||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Wallabag\CoreBundle\Helper\EntriesExport;
|
||||
use Wallabag\CoreBundle\Repository\EntryRepository;
|
||||
use Wallabag\UserBundle\Repository\UserRepository;
|
||||
|
||||
class ExportCommand extends ContainerAwareCommand
|
||||
|
@ -44,7 +45,7 @@ class ExportCommand extends ContainerAwareCommand
|
|||
return 1;
|
||||
}
|
||||
|
||||
$entries = $this->getContainer()->get('wallabag_core.entry_repository')
|
||||
$entries = $this->getContainer()->get(EntryRepository::class)
|
||||
->getBuilderForAllByUser($user->getId())
|
||||
->getQuery()
|
||||
->getResult();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue