#226 fixed Builder

This commit is contained in:
Dominik Liebler
2016-09-23 11:29:28 +02:00
parent 8aa780fa4d
commit 79f25f8442
6 changed files with 53 additions and 46 deletions

View File

@@ -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()