예제 #1
0
 public function linkEntity($id, $link, $foreignId)
 {
     if ($id == $foreignId) {
         throw new Forbidden();
     }
     return parent::linkEntity($id, $link, $foreignId);
 }