mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 12:10:10 +02:00
add wikipedia link
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Abstract Factory
|
||||
================
|
||||
Abstract Factory |Wikipedia|_
|
||||
=============================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@@ -91,3 +91,7 @@ Tests/AbstractFactoryTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/AbstractFactory
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Abstract_factory_pattern
|
@@ -1,5 +1,5 @@
|
||||
Builder
|
||||
=======
|
||||
Builder |Wikipedia|_
|
||||
====================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@@ -102,3 +102,7 @@ Tests/DirectorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Builder
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Builder_pattern
|
@@ -1,5 +1,5 @@
|
||||
Factory Method
|
||||
==============
|
||||
Factory Method |Wikipedia|_
|
||||
===========================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@@ -80,3 +80,7 @@ Tests/FactoryMethodTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/FactoryMethod
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Factory_method_pattern
|
@@ -1,5 +1,5 @@
|
||||
Pool
|
||||
====
|
||||
Pool |Wikipedia|_
|
||||
=================
|
||||
|
||||
The **object pool pattern** is a software creational design pattern that
|
||||
uses a set of initialized objects kept ready to use – a "pool" – rather
|
||||
@@ -67,3 +67,7 @@ Tests/PoolTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Pool
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Object_pool_pattern
|
||||
|
@@ -1,5 +1,5 @@
|
||||
Prototype
|
||||
=========
|
||||
Prototype |Wikipedia|_
|
||||
======================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@@ -53,3 +53,7 @@ Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Prototype
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Prototype_pattern
|
@@ -1,5 +1,5 @@
|
||||
Singleton
|
||||
=========
|
||||
Singleton |Wikipedia|_
|
||||
======================
|
||||
|
||||
**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND
|
||||
MAINTAINABILITY USE DEPENDENCY INJECTION!**
|
||||
@@ -47,3 +47,7 @@ Tests/SingletonTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Singleton
|
||||
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
|
||||
:height: 30 px
|
||||
:width: 30 px
|
||||
.. _Wikipedia: http://en.wikipedia.org/wiki/Singleton_pattern
|
Reference in New Issue
Block a user