mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-30 19:22:12 +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
|
@ -10,6 +10,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Wallabag\CoreBundle\Event\EntrySavedEvent;
|
||||
use Wallabag\CoreBundle\Helper\ContentProxy;
|
||||
use Wallabag\CoreBundle\Repository\EntryRepository;
|
||||
use Wallabag\UserBundle\Repository\UserRepository;
|
||||
|
||||
class ReloadEntryCommand extends ContainerAwareCommand
|
||||
|
@ -42,7 +43,7 @@ class ReloadEntryCommand extends ContainerAwareCommand
|
|||
}
|
||||
}
|
||||
|
||||
$entryRepository = $this->getContainer()->get('wallabag_core.entry_repository');
|
||||
$entryRepository = $this->getContainer()->get(EntryRepository::class);
|
||||
$entryIds = $entryRepository->findAllEntriesIdByUserId($userId);
|
||||
|
||||
$nbEntries = \count($entryIds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue