/** * Add cars * * @param Car $cars * @return CarOwner */ public function addCar(Car $cars) { $this->cars[] = $cars; $cars->setCarOwner($this); return $this; }