sub($tokenLifetime); return $this->createQueryBuilder('t') ->where('t.user = :user') ->andWhere('t.requestedAt >= :minDateTime') ->setParameters([ 'minDateTime' => $minDateTime, 'user' => $user, ]) ->getQuery() ->getResult() ; } }