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