public function removeActor(Person $person) { if ($this->actors->contains($person)) { $this->actors->removeElement($person); } }