Skip to content

Commit b15796b

Browse files
committed
remove unnecessary code
1 parent 30afee7 commit b15796b

File tree

8 files changed

+0
-200
lines changed

8 files changed

+0
-200
lines changed

ux.symfony.com/src/Repository/CategoryRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(Category $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return Category[] Returns an array of Category objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('c')
48-
// ->andWhere('c.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('c.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?Category
58-
// {
59-
// return $this->createQueryBuilder('c')
60-
// ->andWhere('c.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/ChatRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(Chat $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return Chat[] Returns an array of Chat objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('c')
48-
// ->andWhere('c.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('c.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?Chat
58-
// {
59-
// return $this->createQueryBuilder('c')
60-
// ->andWhere('c.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/FoodRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,4 @@ public function remove(Food $entity, bool $flush = false): void
4646
$this->_em->flush();
4747
}
4848
}
49-
50-
// /**
51-
// * @return Food[] Returns an array of Food objects
52-
// */
53-
// public function findByExampleField($value): array
54-
// {
55-
// return $this->createQueryBuilder('c')
56-
// ->andWhere('c.exampleField = :val')
57-
// ->setParameter('val', $value)
58-
// ->orderBy('c.id', 'ASC')
59-
// ->setMaxResults(10)
60-
// ->getQuery()
61-
// ->getResult()
62-
// ;
63-
// }
64-
65-
// public function findOneBySomeField($value): ?Food
66-
// {
67-
// return $this->createQueryBuilder('c')
68-
// ->andWhere('c.exampleField = :val')
69-
// ->setParameter('val', $value)
70-
// ->getQuery()
71-
// ->getOneOrNullResult()
72-
// ;
73-
// }
7449
}

ux.symfony.com/src/Repository/InvoiceItemRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(InvoiceItem $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return InvoiceItem[] Returns an array of InvoiceItem objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('i')
48-
// ->andWhere('i.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('i.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?InvoiceItem
58-
// {
59-
// return $this->createQueryBuilder('i')
60-
// ->andWhere('i.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/InvoiceRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(Invoice $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return Invoice[] Returns an array of Invoice objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('i')
48-
// ->andWhere('i.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('i.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?Invoice
58-
// {
59-
// return $this->createQueryBuilder('i')
60-
// ->andWhere('i.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/ProductRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(Product $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return Product[] Returns an array of Product objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('p')
48-
// ->andWhere('p.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('p.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?Product
58-
// {
59-
// return $this->createQueryBuilder('p')
60-
// ->andWhere('p.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/TodoItemRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(TodoItem $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return TodoItem[] Returns an array of TodoItem objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('t')
48-
// ->andWhere('t.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('t.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?TodoItem
58-
// {
59-
// return $this->createQueryBuilder('t')
60-
// ->andWhere('t.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

ux.symfony.com/src/Repository/TodoListRepository.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,4 @@ public function remove(TodoList $entity, bool $flush = false): void
3838
$this->getEntityManager()->flush();
3939
}
4040
}
41-
42-
// /**
43-
// * @return TodoList[] Returns an array of TodoList objects
44-
// */
45-
// public function findByExampleField($value): array
46-
// {
47-
// return $this->createQueryBuilder('t')
48-
// ->andWhere('t.exampleField = :val')
49-
// ->setParameter('val', $value)
50-
// ->orderBy('t.id', 'ASC')
51-
// ->setMaxResults(10)
52-
// ->getQuery()
53-
// ->getResult()
54-
// ;
55-
// }
56-
57-
// public function findOneBySomeField($value): ?TodoList
58-
// {
59-
// return $this->createQueryBuilder('t')
60-
// ->andWhere('t.exampleField = :val')
61-
// ->setParameter('val', $value)
62-
// ->getQuery()
63-
// ->getOneOrNullResult()
64-
// ;
65-
// }
6641
}

0 commit comments

Comments
 (0)