remove commented code in new repositories

This commit is contained in:
2021-04-02 17:50:45 +02:00
parent 25634ba12b
commit de240b099f
5 changed files with 2 additions and 141 deletions

View File

@@ -38,33 +38,5 @@ class CommentRepository extends ServiceEntityRepository
{
parent::__construct($registry, Comment::class);
}
// /**
// * @return Comment[] Returns an array of Comment objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->orderBy('c.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/
/*
public function findOneBySomeField($value): ?Comment
{
return $this->createQueryBuilder('c')
->andWhere('c.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}