示例#1
0
 public function build(VehicleBuilder $vehicle_builder)
 {
     $vehicle_builder->buildChassis();
     $vehicle_builder->buildBody();
     $vehicle_builder->buildReinforcedStorageArea();
     $vehicle_builder->buildWindows();
     return $vehicle_builder->getVehicle();
 }
示例#2
0
 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();
 }