/** * @param $ship */ public function removeShip($ship) { $this->ships->removeElement($ship); }
/** * @param $car */ public function removeCar($car) { $this->cars->removeElement($car); }