Exemple #1
0
 /**
  * @param IlmSessionInterface $ilmSession
  */
 public function removeIlmSession(IlmSessionInterface $ilmSession)
 {
     if ($this->ilmSessions->contains($ilmSession)) {
         $this->ilmSessions->removeElement($ilmSession);
         $ilmSession->removeLearnerGroup($this);
     }
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function removeLearnerIlmSession(IlmSessionInterface $session)
 {
     if ($this->learnerIlmSessions->contains($session)) {
         $this->learnerIlmSessions->removeElement($session);
         $session->removeLearner($this);
     }
 }