public static function createFromUser(Application $app, User $user, array $restrictions = [])
    {
        /** @var FeedRepository $feedRepository */
        $feedRepository = $app['repo.feeds'];
        $feeds = $feedRepository->filterUserAccessibleByIds($app->getAclForUser($user), $restrictions);
        $token = $app['repo.aggregate-tokens']->findOneBy(['user' => $user]);

        return new static($app['orm.em'], $feeds, $token);
    }