createVehicle($type); $obj->setColor('black'); return $obj; } }