public function __toString() { $str = parent::__toString(); $str .= 'Brand: ' . $this->getCarBrand() . '<br>'; $str .= 'Vehicle: ' . $this->getCarVehicle() . '<br>'; return $str; }