Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }