1 | <?php |
||
10 | class IronFurnitureFactory implements FurnitureFactoryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @param string $color |
||
14 | * @param bool $hasLegs |
||
15 | * @return ChairInterface |
||
16 | */ |
||
17 | 1 | public function makeChair(string $color, bool $hasLegs): ChairInterface |
|
21 | |||
22 | /** |
||
23 | * @param int $width |
||
24 | * @param int $height |
||
25 | * @return TableInterface |
||
26 | */ |
||
27 | 1 | public function makeTable(int $width, int $height): TableInterface |
|
31 | } |
||
32 |