Example #1
0
 /**
  * Delete One Tags IN Database
  * 
  * @param DoctrineManager $em 
  * @param Tags $tag
  * 
  * @return void
  */
 public function deleteOne($em, $tag)
 {
     $em->remove($tag);
     $em->flush();
 }
Example #2
0
 /**
  * Delete One Article IN Database
  * 
  * @param DoctrineManager $em 
  * @param Articles $article
  * 
  * @return void
  */
 public function deleteOne($em, $article)
 {
     $em->remove($article);
     $em->flush();
 }
Example #3
0
 /**
  * Delete One Staff IN Database
  * 
  * @param DoctrineManager $em 
  * @param Staff $staff
  * 
  * @return void
  */
 public function deleteOne($em, $staff)
 {
     $em->remove($staff);
     $em->flush();
 }
Example #4
0
 /**
  * Delete One Pets IN Database
  * 
  * @param DoctrineManager $em 
  * @param Pets $pet
  * 
  * @return void
  */
 public function deleteOne($em, $pet)
 {
     $em->remove($pet);
     $em->flush();
 }
Example #5
0
 /**
  * Delete One Races IN Database
  * 
  * @param DoctrineManager $em 
  * @param Races $race
  * 
  * @return void
  */
 public function deleteOne($em, $race)
 {
     $em->remove($race);
     $em->flush();
 }