mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 02:14:04 +02:00
#226 fixed Builder
This commit is contained in:
@@ -15,6 +15,7 @@ class CarBuilder implements BuilderInterface
|
||||
{
|
||||
$this->car->setPart('rightDoor', new Parts\Door());
|
||||
$this->car->setPart('leftDoor', new Parts\Door());
|
||||
$this->car->setPart('trunkLid', new Parts\Door());
|
||||
}
|
||||
|
||||
public function addEngine()
|
||||
|
Reference in New Issue
Block a user