Example #1
0
 public function checkConstraints($target)
 {
     parent::checkConstraints($target);
     if (is_null($this->name)) {
         throw new \Exception("L'attribut name est obligatoire pour une annotation de type JoinTable");
     }
 }