mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 13:07:27 +02:00
Fix creation
This commit is contained in:
committed by
GitHub
parent
cca8bc55f9
commit
7e2991eee5
@@ -46,7 +46,7 @@ Usage
|
|||||||
.. code:: php
|
.. code:: php
|
||||||
|
|
||||||
$factory = new SimpleFactory();
|
$factory = new SimpleFactory();
|
||||||
$bicycle = $factory->createVehicle('bicycle');
|
$bicycle = $factory->createBicycle();
|
||||||
$bicycle->driveTo('Paris');
|
$bicycle->driveTo('Paris');
|
||||||
|
|
||||||
Test
|
Test
|
||||||
|
Reference in New Issue
Block a user