mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-22 22:33:45 +02:00
sort php files Creational
This commit is contained in:
@@ -32,27 +32,51 @@ Code
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Director.php
|
||||
|
||||
.. literalinclude:: Director.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BuilderInterface.php
|
||||
|
||||
.. literalinclude:: BuilderInterface.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BikeBuilder.php
|
||||
|
||||
.. literalinclude:: BikeBuilder.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
CarBuilder.php
|
||||
|
||||
.. literalinclude:: CarBuilder.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Director.php
|
||||
Parts/Vehicle.php
|
||||
|
||||
.. literalinclude:: Director.php
|
||||
.. literalinclude:: Parts/Vehicle.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BikeBuilder.php
|
||||
Parts/Bike.php
|
||||
|
||||
.. literalinclude:: BikeBuilder.php
|
||||
.. literalinclude:: Parts/Bike.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Car.php
|
||||
|
||||
.. literalinclude:: Parts/Car.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Engine.php
|
||||
|
||||
.. literalinclude:: Parts/Engine.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
@@ -68,30 +92,6 @@ Parts/Door.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Car.php
|
||||
|
||||
.. literalinclude:: Parts/Car.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Bike.php
|
||||
|
||||
.. literalinclude:: Parts/Bike.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Vehicle.php
|
||||
|
||||
.. literalinclude:: Parts/Vehicle.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Engine.php
|
||||
|
||||
.. literalinclude:: Parts/Engine.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
@@ -102,4 +102,4 @@ Tests/DirectorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Builder
|
||||
.. _`Builder`: http://en.wikipedia.org/wiki/Builder_pattern
|
||||
.. _`Builder`: http://en.wikipedia.org/wiki/Builder_pattern
|
||||
|
Reference in New Issue
Block a user