Esempio n. 1
0
 public function build(VehicleBuilder $vehicle_builder)
 {
     $vehicle_builder->buildChassis();
     $vehicle_builder->buildBody();
     $vehicle_builder->buildReinforcedStorageArea();
     $vehicle_builder->buildWindows();
     return $vehicle_builder->getVehicle();
 }
Esempio n. 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();
 }