Wallabag\CoreBundle\Twig\WallabagExtension::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( EntryRepository $entryRepository, TagRepository $tagRepository, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, $lifeTime, Symfony\Component\Translation\TranslatorInterface $translator )
$entryRepository Wallabag\CoreBundle\Repository\EntryRepository
$tagRepository Wallabag\CoreBundle\Repository\TagRepository
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$translator Symfony\Component\Translation\TranslatorInterface
    public function __construct(EntryRepository $entryRepository, TagRepository $tagRepository, TokenStorageInterface $tokenStorage, $lifeTime, TranslatorInterface $translator)
    {
        $this->entryRepository = $entryRepository;
        $this->tagRepository = $tagRepository;
        $this->tokenStorage = $tokenStorage;
        $this->lifeTime = $lifeTime;
        $this->translator = $translator;
    }