PHP7 Prototype

This commit is contained in:
Dominik Liebler
2016-09-22 14:56:44 +02:00
parent 61a6f03f04
commit f4c9af503b
6 changed files with 37 additions and 44 deletions

View File

@@ -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