mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-10 17:04:01 +02:00
sort php files Creational
This commit is contained in:
@@ -28,15 +28,9 @@ Code
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Porsche.php
|
||||
FactoryMethod.php
|
||||
|
||||
.. literalinclude:: Porsche.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
GermanFactory.php
|
||||
|
||||
.. literalinclude:: GermanFactory.php
|
||||
.. literalinclude:: FactoryMethod.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
@@ -46,15 +40,21 @@ ItalianFactory.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
GermanFactory.php
|
||||
|
||||
.. literalinclude:: GermanFactory.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
VehicleInterface.php
|
||||
|
||||
.. literalinclude:: VehicleInterface.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
FactoryMethod.php
|
||||
Porsche.php
|
||||
|
||||
.. literalinclude:: FactoryMethod.php
|
||||
.. literalinclude:: Porsche.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
@@ -80,4 +80,4 @@ Tests/FactoryMethodTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/FactoryMethod
|
||||
.. _`Factory Method`: http://en.wikipedia.org/wiki/Factory_method_pattern
|
||||
.. _`Factory Method`: http://en.wikipedia.org/wiki/Factory_method_pattern
|
||||
|
Reference in New Issue
Block a user