mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-26 22:39:11 +02:00
cs SimpleFactory and Builder
This commit is contained in:
@@ -36,7 +36,7 @@ class ConcreteFactory
|
||||
* Creates a vehicle
|
||||
*
|
||||
* @param string $type a known type key
|
||||
* @return Vehicle a new instance of Vehicle
|
||||
* @return VehicleInterface a new instance of VehicleInterface
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function createVehicle($type)
|
||||
|
Reference in New Issue
Block a user