mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-14 02:44:09 +02:00
PHP7 Prototype
This commit is contained in:
@@ -25,12 +25,6 @@ Code
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
index.php
|
||||
|
||||
.. literalinclude:: index.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BookPrototype.php
|
||||
|
||||
.. literalinclude:: BookPrototype.php
|
||||
@@ -52,5 +46,11 @@ FooBookPrototype.php
|
||||
Test
|
||||
----
|
||||
|
||||
Tests/PrototypeTest.php
|
||||
|
||||
.. literalinclude:: Tests/PrototypeTest.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Prototype
|
||||
.. __: http://en.wikipedia.org/wiki/Prototype_pattern
|
||||
|
Reference in New Issue
Block a user