public function build(VehicleBuilder $vehicle_builder) { $vehicle_builder->buildChassis(); $vehicle_builder->buildBody(); $vehicle_builder->buildReinforcedStorageArea(); $vehicle_builder->buildWindows(); return $vehicle_builder->getVehicle(); }
public function build(VehicleBuilder $vehicle_builder) { $vehicle_builder->buildChassis(); $vehicle_builder->buildBody(); $vehicle_builder->buildPassengerArea(); $vehicle_builder->buildBoot(); $vehicle_builder->buildWindows(); return $vehicle_builder->getVehicle(); }