From fa36638e885bfbfda182dc2f518d0e85634b347c Mon Sep 17 00:00:00 2001 From: Faust Date: Fri, 29 May 2015 12:11:16 +0200 Subject: [PATCH] use Anonymous Hyperlinks for wikipedia link --- Behavioral/ChainOfResponsibilities/README.rst | 6 +++--- Behavioral/Command/README.rst | 6 +++--- Behavioral/Iterator/README.rst | 6 +++--- Behavioral/Mediator/README.rst | 6 +++--- Behavioral/Memento/README.rst | 6 +++--- Behavioral/NullObject/README.rst | 6 +++--- Behavioral/Observer/README.rst | 6 +++--- Behavioral/Specification/README.rst | 6 +++--- Behavioral/State/README.rst | 6 +++--- Behavioral/Strategy/README.rst | 6 +++--- Behavioral/TemplateMethod/README.rst | 6 +++--- Behavioral/Visitor/README.rst | 6 +++--- Creational/AbstractFactory/README.rst | 6 +++--- Creational/Builder/README.rst | 6 +++--- Creational/FactoryMethod/README.rst | 6 +++--- Creational/Pool/README.rst | 6 +++--- Creational/Prototype/README.rst | 6 +++--- Creational/Singleton/README.rst | 6 +++--- More/Delegation/README.rst | 6 +++--- More/ServiceLocator/README.rst | 6 +++--- Structural/Adapter/README.rst | 6 +++--- Structural/Bridge/README.rst | 8 ++++---- Structural/Composite/README.rst | 6 +++--- Structural/DataMapper/README.rst | 6 +++--- Structural/Decorator/README.rst | 6 +++--- Structural/DependencyInjection/README.rst | 6 +++--- Structural/Facade/README.rst | 6 +++--- Structural/FluentInterface/README.rst | 7 +++---- Structural/Proxy/README.rst | 6 +++--- Structural/Registry/README.rst | 6 +++--- 30 files changed, 91 insertions(+), 92 deletions(-) diff --git a/Behavioral/ChainOfResponsibilities/README.rst b/Behavioral/ChainOfResponsibilities/README.rst index 06a828c..b3f47b9 100644 --- a/Behavioral/ChainOfResponsibilities/README.rst +++ b/Behavioral/ChainOfResponsibilities/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Chain_of_responsibility_pattern \ No newline at end of file diff --git a/Behavioral/Command/README.rst b/Behavioral/Command/README.rst index 2bcf1d4..ddd2164 100644 --- a/Behavioral/Command/README.rst +++ b/Behavioral/Command/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Command_pattern \ No newline at end of file diff --git a/Behavioral/Iterator/README.rst b/Behavioral/Iterator/README.rst index dbe1199..9398350 100644 --- a/Behavioral/Iterator/README.rst +++ b/Behavioral/Iterator/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Iterator_pattern \ No newline at end of file diff --git a/Behavioral/Mediator/README.rst b/Behavioral/Mediator/README.rst index 05277dc..1a596d7 100644 --- a/Behavioral/Mediator/README.rst +++ b/Behavioral/Mediator/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Mediator_pattern \ No newline at end of file diff --git a/Behavioral/Memento/README.rst b/Behavioral/Memento/README.rst index a9b86c7..6696149 100644 --- a/Behavioral/Memento/README.rst +++ b/Behavioral/Memento/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Memento_pattern \ No newline at end of file diff --git a/Behavioral/NullObject/README.rst b/Behavioral/NullObject/README.rst index 187b621..ad7719c 100644 --- a/Behavioral/NullObject/README.rst +++ b/Behavioral/NullObject/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Null_Object_pattern \ No newline at end of file diff --git a/Behavioral/Observer/README.rst b/Behavioral/Observer/README.rst index 9a6a230..53398c2 100644 --- a/Behavioral/Observer/README.rst +++ b/Behavioral/Observer/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Observer_pattern \ No newline at end of file diff --git a/Behavioral/Specification/README.rst b/Behavioral/Specification/README.rst index e12c24a..b6957e0 100644 --- a/Behavioral/Specification/README.rst +++ b/Behavioral/Specification/README.rst @@ -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 diff --git a/Behavioral/State/README.rst b/Behavioral/State/README.rst index f5a2b19..3722d92 100644 --- a/Behavioral/State/README.rst +++ b/Behavioral/State/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/State_pattern \ No newline at end of file diff --git a/Behavioral/Strategy/README.rst b/Behavioral/Strategy/README.rst index 940c716..c3ced8f 100644 --- a/Behavioral/Strategy/README.rst +++ b/Behavioral/Strategy/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Strategy_pattern \ No newline at end of file diff --git a/Behavioral/TemplateMethod/README.rst b/Behavioral/TemplateMethod/README.rst index 0397753..559cd36 100644 --- a/Behavioral/TemplateMethod/README.rst +++ b/Behavioral/TemplateMethod/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Template_method_pattern \ No newline at end of file diff --git a/Behavioral/Visitor/README.rst b/Behavioral/Visitor/README.rst index 3d88f0d..ba256b9 100644 --- a/Behavioral/Visitor/README.rst +++ b/Behavioral/Visitor/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Visitor_pattern \ No newline at end of file diff --git a/Creational/AbstractFactory/README.rst b/Creational/AbstractFactory/README.rst index 3e6d7ef..69980eb 100644 --- a/Creational/AbstractFactory/README.rst +++ b/Creational/AbstractFactory/README.rst @@ -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 diff --git a/Creational/Builder/README.rst b/Creational/Builder/README.rst index 85b38ea..de8971b 100644 --- a/Creational/Builder/README.rst +++ b/Creational/Builder/README.rst @@ -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 diff --git a/Creational/FactoryMethod/README.rst b/Creational/FactoryMethod/README.rst index 6ec224e..7e69a8d 100644 --- a/Creational/FactoryMethod/README.rst +++ b/Creational/FactoryMethod/README.rst @@ -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 diff --git a/Creational/Pool/README.rst b/Creational/Pool/README.rst index 260d3b0..7b97b9b 100644 --- a/Creational/Pool/README.rst +++ b/Creational/Pool/README.rst @@ -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 diff --git a/Creational/Prototype/README.rst b/Creational/Prototype/README.rst index 64c558d..af38f8f 100644 --- a/Creational/Prototype/README.rst +++ b/Creational/Prototype/README.rst @@ -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 diff --git a/Creational/Singleton/README.rst b/Creational/Singleton/README.rst index 4ec37ae..c8aad42 100644 --- a/Creational/Singleton/README.rst +++ b/Creational/Singleton/README.rst @@ -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 diff --git a/More/Delegation/README.rst b/More/Delegation/README.rst index 51b05fc..b6172c6 100644 --- a/More/Delegation/README.rst +++ b/More/Delegation/README.rst @@ -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 diff --git a/More/ServiceLocator/README.rst b/More/ServiceLocator/README.rst index 1ffa792..bfeb1a9 100644 --- a/More/ServiceLocator/README.rst +++ b/More/ServiceLocator/README.rst @@ -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 diff --git a/Structural/Adapter/README.rst b/Structural/Adapter/README.rst index dacd97e..1de8425 100644 --- a/Structural/Adapter/README.rst +++ b/Structural/Adapter/README.rst @@ -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 diff --git a/Structural/Bridge/README.rst b/Structural/Bridge/README.rst index b92fd1c..f9b9551 100644 --- a/Structural/Bridge/README.rst +++ b/Structural/Bridge/README.rst @@ -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 diff --git a/Structural/Composite/README.rst b/Structural/Composite/README.rst index 432647e..66d8f16 100644 --- a/Structural/Composite/README.rst +++ b/Structural/Composite/README.rst @@ -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 diff --git a/Structural/DataMapper/README.rst b/Structural/DataMapper/README.rst index 7fca1e9..5180243 100644 --- a/Structural/DataMapper/README.rst +++ b/Structural/DataMapper/README.rst @@ -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 diff --git a/Structural/Decorator/README.rst b/Structural/Decorator/README.rst index b40ac69..b57a608 100644 --- a/Structural/Decorator/README.rst +++ b/Structural/Decorator/README.rst @@ -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 diff --git a/Structural/DependencyInjection/README.rst b/Structural/DependencyInjection/README.rst index 2446c2c..7e979b5 100644 --- a/Structural/DependencyInjection/README.rst +++ b/Structural/DependencyInjection/README.rst @@ -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 diff --git a/Structural/Facade/README.rst b/Structural/Facade/README.rst index 1148b5e..da20b13 100644 --- a/Structural/Facade/README.rst +++ b/Structural/Facade/README.rst @@ -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 diff --git a/Structural/FluentInterface/README.rst b/Structural/FluentInterface/README.rst index a1dd9c8..2fcef3b 100644 --- a/Structural/FluentInterface/README.rst +++ b/Structural/FluentInterface/README.rst @@ -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 \ No newline at end of file +.. __: http://en.wikipedia.org/wiki/Fluent_interface \ No newline at end of file diff --git a/Structural/Proxy/README.rst b/Structural/Proxy/README.rst index b60baea..e65475b 100644 --- a/Structural/Proxy/README.rst +++ b/Structural/Proxy/README.rst @@ -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 diff --git a/Structural/Registry/README.rst b/Structural/Registry/README.rst index e95ed26..9de8029 100644 --- a/Structural/Registry/README.rst +++ b/Structural/Registry/README.rst @@ -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