|
|
@ -5,7 +5,7 @@ use config\Validation;
|
|
|
|
use Exception;
|
|
|
|
use Exception;
|
|
|
|
use model\ValidationException;
|
|
|
|
use model\ValidationException;
|
|
|
|
|
|
|
|
|
|
|
|
class TODELETEJouerController{
|
|
|
|
class _TO_DELETE__JouerController{
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @throws Exception
|
|
|
|
* @throws Exception
|
|
|
@ -30,10 +30,10 @@ class TODELETEJouerController{
|
|
|
|
$idJeu = $configurationJeu->getJeu()->getId();
|
|
|
|
$idJeu = $configurationJeu->getJeu()->getId();
|
|
|
|
switch($idJeu){
|
|
|
|
switch($idJeu){
|
|
|
|
case 2:
|
|
|
|
case 2:
|
|
|
|
new TODELETEScienceQuizzController($role, $configurationJeu);
|
|
|
|
new _TO_DELETE__ScienceQuizzController($role, $configurationJeu);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 3:
|
|
|
|
case 3:
|
|
|
|
new TODELETEPenduController($role, $configurationJeu);
|
|
|
|
new _TO_DELETE__PenduController($role, $configurationJeu);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
throw new Exception("Jeu non défini !");
|
|
|
|
throw new Exception("Jeu non défini !");
|
|
|
|