예제 #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();
 }