feat: user can enable/disable a watchlist

This commit is contained in:
Maël Gangloff
2025-10-25 19:23:15 +02:00
parent 5243b3c2dd
commit 24e3bc19ff
13 changed files with 212 additions and 37 deletions

View File

@@ -25,6 +25,14 @@ class WatchlistRepository extends ServiceEntityRepository
->getQuery()->getSingleScalarResult();
}
public function getEnabledWatchlist()
{
return $this->createQueryBuilder('w')
->select()
->where('w.isEnabled = true')
->getQuery()->execute();
}
// /**
// * @return Watchlist[] Returns an array of Watchlist objects
// */