mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-01-29 11:44:00 +01:00
use Anonymous Hyperlinks for wikipedia link
This commit is contained in:
parent
d266e1a42b
commit
fa36638e88
@ -1,5 +1,5 @@
|
||||
`Chain Of Responsibilities`_
|
||||
============================
|
||||
`Chain Of Responsibilities`__
|
||||
=============================
|
||||
|
||||
Purpose:
|
||||
--------
|
||||
@ -67,4 +67,4 @@ Tests/ChainTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/ChainOfResponsibilities
|
||||
.. _`Chain Of Responsibilities`: http://en.wikipedia.org/wiki/Chain_of_responsibility_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Chain_of_responsibility_pattern
|
@ -1,5 +1,5 @@
|
||||
`Command`_
|
||||
==========
|
||||
`Command`__
|
||||
===========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -74,4 +74,4 @@ Tests/CommandTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Command
|
||||
.. _`Command`: http://en.wikipedia.org/wiki/Command_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Command_pattern
|
@ -1,5 +1,5 @@
|
||||
`Iterator`_
|
||||
===========
|
||||
`Iterator`__
|
||||
============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -67,4 +67,4 @@ Tests/IteratorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Iterator
|
||||
.. _`Iterator`: http://en.wikipedia.org/wiki/Iterator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Iterator_pattern
|
@ -1,5 +1,5 @@
|
||||
`Mediator`_
|
||||
===========
|
||||
`Mediator`__
|
||||
============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -70,4 +70,4 @@ Tests/MediatorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Mediator
|
||||
.. _`Mediator`: http://en.wikipedia.org/wiki/Mediator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Mediator_pattern
|
@ -1,5 +1,5 @@
|
||||
`Memento`_
|
||||
==========
|
||||
`Memento`__
|
||||
===========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -65,4 +65,4 @@ Tests/MementoTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Memento
|
||||
.. _`Memento`: http://en.wikipedia.org/wiki/Memento_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Memento_pattern
|
@ -1,5 +1,5 @@
|
||||
`Null Object`_
|
||||
==============
|
||||
`Null Object`__
|
||||
===============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -72,4 +72,4 @@ Tests/LoggerTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/NullObject
|
||||
.. _`Null Object`: http://en.wikipedia.org/wiki/Null_Object_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Null_Object_pattern
|
@ -1,5 +1,5 @@
|
||||
`Observer`_
|
||||
===========
|
||||
`Observer`__
|
||||
============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -55,4 +55,4 @@ Tests/ObserverTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Observer
|
||||
.. _`Observer`: http://en.wikipedia.org/wiki/Observer_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Observer_pattern
|
@ -1,5 +1,5 @@
|
||||
`Specification`_
|
||||
================
|
||||
`Specification`__
|
||||
=================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -78,4 +78,4 @@ Tests/SpecificationTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Specification
|
||||
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Specification_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`State`_
|
||||
========
|
||||
`State`__
|
||||
=========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -54,4 +54,4 @@ Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/State
|
||||
.. _`State`: http://en.wikipedia.org/wiki/State_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/State_pattern
|
@ -1,5 +1,5 @@
|
||||
`Strategy`_
|
||||
===========
|
||||
`Strategy`__
|
||||
============
|
||||
|
||||
Terminology:
|
||||
------------
|
||||
@ -68,4 +68,4 @@ Tests/StrategyTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Strategy
|
||||
.. _`Strategy`: http://en.wikipedia.org/wiki/Strategy_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Strategy_pattern
|
@ -1,5 +1,5 @@
|
||||
`Template Method`_
|
||||
==================
|
||||
`Template Method`__
|
||||
===================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -61,4 +61,4 @@ Tests/JourneyTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/TemplateMethod
|
||||
.. _`Template Method`: http://en.wikipedia.org/wiki/Template_method_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Template_method_pattern
|
@ -1,5 +1,5 @@
|
||||
`Visitor`_
|
||||
==========
|
||||
`Visitor`__
|
||||
===========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -65,4 +65,4 @@ Tests/VisitorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Visitor
|
||||
.. _`Visitor`: http://en.wikipedia.org/wiki/Visitor_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Visitor_pattern
|
@ -1,5 +1,5 @@
|
||||
`Abstract Factory`_
|
||||
===================
|
||||
`Abstract Factory`__
|
||||
====================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -91,4 +91,4 @@ Tests/AbstractFactoryTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/AbstractFactory
|
||||
.. _`Abstract Factory`: http://en.wikipedia.org/wiki/Abstract_factory_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Abstract_factory_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Builder`_
|
||||
==========
|
||||
`Builder`__
|
||||
===========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -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
|
||||
.. __: http://en.wikipedia.org/wiki/Builder_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Factory Method`_
|
||||
=================
|
||||
`Factory Method`__
|
||||
==================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -80,4 +80,4 @@ Tests/FactoryMethodTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/FactoryMethod
|
||||
.. _`Factory Method`: http://en.wikipedia.org/wiki/Factory_method_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Factory_method_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Pool`_
|
||||
=======
|
||||
`Pool`__
|
||||
========
|
||||
|
||||
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,4 +67,4 @@ Tests/TestWorker.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Pool
|
||||
.. _`Pool`: http://en.wikipedia.org/wiki/Object_pool_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Object_pool_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Prototype`_
|
||||
============
|
||||
`Prototype`__
|
||||
=============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -53,4 +53,4 @@ Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Prototype
|
||||
.. _`Prototype`: http://en.wikipedia.org/wiki/Prototype_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Prototype_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Singleton`_
|
||||
============
|
||||
`Singleton`__
|
||||
=============
|
||||
|
||||
**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND
|
||||
MAINTAINABILITY USE DEPENDENCY INJECTION!**
|
||||
@ -47,4 +47,4 @@ Tests/SingletonTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Singleton
|
||||
.. _`Singleton`: http://en.wikipedia.org/wiki/Singleton_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Singleton_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Delegation`_
|
||||
=============
|
||||
`Delegation`__
|
||||
==============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -51,4 +51,4 @@ Tests/DelegationTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/More/Delegation
|
||||
.. _`Delegation`: http://en.wikipedia.org/wiki/Delegation_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Delegation_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Service Locator`_
|
||||
==================
|
||||
`Service Locator`__
|
||||
===================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -81,4 +81,4 @@ Tests/ServiceLocatorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/More/ServiceLocator
|
||||
.. _`Service Locator`: http://en.wikipedia.org/wiki/Service_locator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Service_locator_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Adapter / Wrapper`_
|
||||
====================
|
||||
`Adapter / Wrapper`__
|
||||
=====================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -68,4 +68,4 @@ Tests/AdapterTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Adapter
|
||||
.. _`Adapter / Wrapper`: http://en.wikipedia.org/wiki/Adapter_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Adapter_pattern
|
||||
|
@ -1,11 +1,11 @@
|
||||
`Bridge`_
|
||||
=========
|
||||
`Bridge`__
|
||||
==========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
Decouple an abstraction from its implementation so that the two can vary
|
||||
independently. (http://en.wikipedia.org/wiki/Bridge\_pattern)
|
||||
independently.
|
||||
|
||||
Sample:
|
||||
^^^^^^^
|
||||
@ -71,4 +71,4 @@ Tests/BridgeTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Bridge
|
||||
.. _`Bridge`: http://en.wikipedia.org/wiki/Bridge_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Bridge_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Composite`_
|
||||
============
|
||||
`Composite`__
|
||||
=============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -62,4 +62,4 @@ Tests/CompositeTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Composite
|
||||
.. _`Composite`: http://en.wikipedia.org/wiki/Composite_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Composite_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Data Mapper`_
|
||||
==============
|
||||
`Data Mapper`__
|
||||
===============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -57,4 +57,4 @@ Tests/DataMapperTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/DataMapper
|
||||
.. _`Data Mapper`: http://en.wikipedia.org/wiki/Data_mapper_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Data_mapper_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Decorator`_
|
||||
============
|
||||
`Decorator`__
|
||||
=============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -65,4 +65,4 @@ Tests/DecoratorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Decorator
|
||||
.. _`Decorator`: http://en.wikipedia.org/wiki/Decorator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Decorator_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Dependency Injection`_
|
||||
=======================
|
||||
`Dependency Injection`__
|
||||
========================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -85,4 +85,4 @@ Tests/config.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/DependencyInjection
|
||||
.. _`Dependency Injection`: http://en.wikipedia.org/wiki/Dependency_injection
|
||||
.. __: http://en.wikipedia.org/wiki/Dependency_injection
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Facade`_
|
||||
=========
|
||||
`Facade`__
|
||||
==========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -63,4 +63,4 @@ Tests/FacadeTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Facade
|
||||
.. _`Facade`: http://en.wikipedia.org/wiki/Facade_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Facade_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Fluent Interface`_
|
||||
===================
|
||||
`Fluent Interface`__
|
||||
====================
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -43,5 +43,4 @@ Tests/FluentInterfaceTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/FluentInterface
|
||||
|
||||
.. _`Fluent Interface`: http://en.wikipedia.org/wiki/Fluent_interface
|
||||
.. __: http://en.wikipedia.org/wiki/Fluent_interface
|
@ -1,5 +1,5 @@
|
||||
`Proxy`_
|
||||
========
|
||||
`Proxy`__
|
||||
=========
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -41,4 +41,4 @@ Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Proxy
|
||||
.. _`Proxy`: http://en.wikipedia.org/wiki/Proxy_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Proxy_pattern
|
||||
|
@ -1,5 +1,5 @@
|
||||
`Registry`_
|
||||
===========
|
||||
`Registry`__
|
||||
============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
@ -44,4 +44,4 @@ Tests/RegistryTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural/Registry
|
||||
.. _`Registry`: http://en.wikipedia.org/wiki/Service_locator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Service_locator_pattern
|
||||
|
Loading…
x
Reference in New Issue
Block a user