Esempio n. 1
0
 /**
  * @param SchoolInterface $recipient
  */
 public function addRecipient(SchoolInterface $recipient)
 {
     $this->recipients->add($recipient);
 }
Esempio n. 2
0
 /**
  * @inheritdoc
  */
 public function addRecipient(SchoolInterface $recipient)
 {
     if (!$this->recipients->contains($recipient)) {
         $this->recipients->add($recipient);
     }
 }
Esempio n. 3
0
 /**
  * @param SchoolInterface $school
  */
 public function addAdministeredSchool(SchoolInterface $school)
 {
     if (!$this->administeredSchools->contains($school)) {
         $this->administeredSchools->add($school);
         $school->addAdministrator($this);
     }
 }