mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 12:10:10 +02:00
fix embed some files and add download link to README.md
This commit is contained in:
@@ -57,6 +57,30 @@ Picture.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Html/Picture.php
|
||||
|
||||
.. literalinclude:: Html/Picture.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Html/Text.php
|
||||
|
||||
.. literalinclude:: Html/Text.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Json/Picture.php
|
||||
|
||||
.. literalinclude:: Json/Picture.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Json/Text.php
|
||||
|
||||
.. literalinclude:: Json/Text.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
|
@@ -1,53 +0,0 @@
|
||||
Purpose
|
||||
=======
|
||||
|
||||
Examples
|
||||
========
|
||||
|
||||
-
|
||||
|
||||
Code
|
||||
----
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Wheel.php
|
||||
|
||||
.. literalinclude:: Wheel.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Door.php
|
||||
|
||||
.. literalinclude:: Door.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Car.php
|
||||
|
||||
.. literalinclude:: Car.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Bike.php
|
||||
|
||||
.. literalinclude:: Bike.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Vehicle.php
|
||||
|
||||
.. literalinclude:: Vehicle.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Engine.php
|
||||
|
||||
.. literalinclude:: Engine.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Builder/Parts
|
@@ -56,6 +56,42 @@ BikeBuilder.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Wheel.php
|
||||
|
||||
.. literalinclude:: Parts/Wheel.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Parts/Door.php
|
||||
|
||||
.. literalinclude:: 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
|
||||
----
|
||||
|
||||
|
Reference in New Issue
Block a user