From 3af3b49b2d8d4c7ea32ef08f4e14155a69e02c51 Mon Sep 17 00:00:00 2001 From: Kantai Date: Wed, 23 Sep 2020 09:35:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B6=85=E9=80=A3=E7=B5=90?= =?UTF-8?q?=20URL=20=E4=B8=8A=E7=9A=84=E9=8C=AF=E8=AA=A4=E4=BD=8D=E5=9D=80?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DesignPatterns/Behavioral/ChainOfResponsibilities/README.md | 4 ++-- DesignPatterns/Behavioral/CommandPattern/README.md | 4 ++-- DesignPatterns/Behavioral/IteratorPattern/README.md | 4 ++-- DesignPatterns/Behavioral/MediatorPattern/README.md | 4 ++-- DesignPatterns/Behavioral/MementoPattern/README.md | 4 ++-- DesignPatterns/Behavioral/NullObjectPattern/README.md | 4 ++-- DesignPatterns/Behavioral/ObserverPattern/README.md | 5 +++-- DesignPatterns/Behavioral/SpecificationPattern/README.md | 4 ++-- DesignPatterns/Behavioral/StatePattern/README.md | 4 ++-- DesignPatterns/Behavioral/StrategyPattern/README.md | 4 ++-- DesignPatterns/Behavioral/TemplateMethod/README.md | 4 ++-- DesignPatterns/Behavioral/VisitorPattern/README.md | 4 ++-- DesignPatterns/Creational/AbstractFactory/README.md | 4 ++-- DesignPatterns/Creational/BuilderPattern/README.md | 4 ++-- DesignPatterns/Creational/FactoryMethod/README.md | 4 ++-- DesignPatterns/Creational/PoolPattern/README.md | 4 ++-- DesignPatterns/Creational/PrototypePattern/README.md | 4 ++-- DesignPatterns/Creational/SimpleFactory/README.md | 4 ++-- DesignPatterns/Creational/SingletonPattern/README.md | 4 ++-- DesignPatterns/Creational/StaticFactory/README.md | 4 ++-- DesignPatterns/Structural/AdapterPattern/README.md | 4 ++-- DesignPatterns/Structural/BridgePattern/README.md | 4 ++-- DesignPatterns/Structural/CompositePattern/README.md | 4 ++-- DesignPatterns/Structural/DataMapper/README.md | 4 ++-- DesignPatterns/Structural/DecoratorPattern/README.md | 4 ++-- DesignPatterns/Structural/DependencyInjection/README.md | 4 ++-- DesignPatterns/Structural/FacadePattern/README.md | 4 ++-- DesignPatterns/Structural/FluentInterface/README.md | 4 ++-- DesignPatterns/Structural/FlyweightPattern/README.md | 4 ++-- DesignPatterns/Structural/ProxyPattern/README.md | 4 ++-- DesignPatterns/Structural/RegistryPattern/README.md | 4 ++-- 31 files changed, 63 insertions(+), 62 deletions(-) diff --git a/DesignPatterns/Behavioral/ChainOfResponsibilities/README.md b/DesignPatterns/Behavioral/ChainOfResponsibilities/README.md index cf7699c..909c696 100644 --- a/DesignPatterns/Behavioral/ChainOfResponsibilities/README.md +++ b/DesignPatterns/Behavioral/ChainOfResponsibilities/README.md @@ -329,8 +329,8 @@ OK (54 tests, 120 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 責任鏈模式](https://kantai235.github.io/ChainOfResponsibilities) -- [責任鏈模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/ChainOfResponsibilities) -- [責任鏈模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/ChainOfResponsibilitiesTest.php) +- [責任鏈模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/ChainOfResponsibilities) +- [責任鏈模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/ChainOfResponsibilitiesTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/CommandPattern/README.md b/DesignPatterns/Behavioral/CommandPattern/README.md index 2508f33..de63939 100644 --- a/DesignPatterns/Behavioral/CommandPattern/README.md +++ b/DesignPatterns/Behavioral/CommandPattern/README.md @@ -358,8 +358,8 @@ OK (55 tests, 122 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 命令模式](https://kantai235.github.io/CommandPattern) -- [命令模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/CommandPattern) -- [命令模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/CommandPatternTest.php) +- [命令模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/CommandPattern) +- [命令模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/CommandPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/IteratorPattern/README.md b/DesignPatterns/Behavioral/IteratorPattern/README.md index 938d98f..20ef73b 100644 --- a/DesignPatterns/Behavioral/IteratorPattern/README.md +++ b/DesignPatterns/Behavioral/IteratorPattern/README.md @@ -351,8 +351,8 @@ OK (59 tests, 126 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 疊代器模式](https://kantai235.github.io/IteratorPattern) -- [疊代器模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/IteratorPattern) -- [疊代器模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/IteratorPatternTest.php) +- [疊代器模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/IteratorPattern) +- [疊代器模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/IteratorPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/MediatorPattern/README.md b/DesignPatterns/Behavioral/MediatorPattern/README.md index 9270010..dac971d 100644 --- a/DesignPatterns/Behavioral/MediatorPattern/README.md +++ b/DesignPatterns/Behavioral/MediatorPattern/README.md @@ -450,8 +450,8 @@ OK (62 tests, 129 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 中介者模式](https://kantai235.github.io/MediatorPattern) -- [中介者模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/MediatorPattern) -- [中介者模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/MediatorPatternTest.php) +- [中介者模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/MediatorPattern) +- [中介者模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/MediatorPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/MementoPattern/README.md b/DesignPatterns/Behavioral/MementoPattern/README.md index 410bb8d..9e31b90 100644 --- a/DesignPatterns/Behavioral/MementoPattern/README.md +++ b/DesignPatterns/Behavioral/MementoPattern/README.md @@ -228,8 +228,8 @@ OK (63 tests, 132 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 備忘錄模式](https://kantai235.github.io/MementoPattern) -- [備忘錄模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/MementoPattern) -- [備忘錄模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/MementoPatternTest.php) +- [備忘錄模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/MementoPattern) +- [備忘錄模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/MementoPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/NullObjectPattern/README.md b/DesignPatterns/Behavioral/NullObjectPattern/README.md index d8d5018..e350752 100644 --- a/DesignPatterns/Behavioral/NullObjectPattern/README.md +++ b/DesignPatterns/Behavioral/NullObjectPattern/README.md @@ -312,8 +312,8 @@ OK (67 tests, 136 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 空物件模式](https://kantai235.github.io/NullObjectPattern) -- [空物件模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/NullObjectPattern) -- [空物件模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/NullObjectPatternTest.php) +- [空物件模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/NullObjectPattern) +- [空物件模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/NullObjectPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/ObserverPattern/README.md b/DesignPatterns/Behavioral/ObserverPattern/README.md index 885e4e7..57739e4 100644 --- a/DesignPatterns/Behavioral/ObserverPattern/README.md +++ b/DesignPatterns/Behavioral/ObserverPattern/README.md @@ -1,6 +1,7 @@ ![Banner](https://raw.githubusercontent.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/ObserverPattern/Banner.png) # 觀察者模式 Observer Pattern +觀察者模式, ## UML ![UML](https://raw.githubusercontent.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/ObserverPattern/UML.png) @@ -48,8 +49,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 觀察者模式](https://kantai235.github.io/ObserverPattern) -- [觀察者模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/ObserverPattern) -- [觀察者模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/ObserverPatternTest.php) +- [觀察者模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/ObserverPattern) +- [觀察者模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/ObserverPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/SpecificationPattern/README.md b/DesignPatterns/Behavioral/SpecificationPattern/README.md index 12ff0ab..e1b9a3e 100644 --- a/DesignPatterns/Behavioral/SpecificationPattern/README.md +++ b/DesignPatterns/Behavioral/SpecificationPattern/README.md @@ -48,8 +48,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 規格模式](https://kantai235.github.io/SpecificationPattern) -- [規格模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/SpecificationPattern) -- [規格模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/SpecificationPatternTest.php) +- [規格模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/SpecificationPattern) +- [規格模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/SpecificationPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/StatePattern/README.md b/DesignPatterns/Behavioral/StatePattern/README.md index 8b8d62c..3c9cac5 100644 --- a/DesignPatterns/Behavioral/StatePattern/README.md +++ b/DesignPatterns/Behavioral/StatePattern/README.md @@ -48,8 +48,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 狀態模式](https://kantai235.github.io/StatePattern) -- [狀態模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/StatePattern) -- [狀態模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/StatePatternTest.php) +- [狀態模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/StatePattern) +- [狀態模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/StatePatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/StrategyPattern/README.md b/DesignPatterns/Behavioral/StrategyPattern/README.md index ee53d3f..3c0e06c 100644 --- a/DesignPatterns/Behavioral/StrategyPattern/README.md +++ b/DesignPatterns/Behavioral/StrategyPattern/README.md @@ -48,8 +48,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 策略模式](https://kantai235.github.io/StrategyPattern) -- [策略模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/StrategyPattern) -- [策略模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/StrategyPatternTest.php) +- [策略模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/StrategyPattern) +- [策略模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/StrategyPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/TemplateMethod/README.md b/DesignPatterns/Behavioral/TemplateMethod/README.md index b652e70..1cf1a06 100644 --- a/DesignPatterns/Behavioral/TemplateMethod/README.md +++ b/DesignPatterns/Behavioral/TemplateMethod/README.md @@ -48,8 +48,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 模板方法](https://kantai235.github.io/TemplateMethod) -- [模板方法 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/TemplateMethod) -- [模板方法 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/TemplateMethodTest.php) +- [模板方法 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/TemplateMethod) +- [模板方法 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/TemplateMethodTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Behavioral/VisitorPattern/README.md b/DesignPatterns/Behavioral/VisitorPattern/README.md index 6e21eca..ea58cd2 100644 --- a/DesignPatterns/Behavioral/VisitorPattern/README.md +++ b/DesignPatterns/Behavioral/VisitorPattern/README.md @@ -48,8 +48,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 訪問者模式](https://kantai235.github.io/VisitorPattern) -- [訪問者模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Behavioral/VisitorPattern) -- [訪問者模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Behavioral/VisitorPatternTest.php) +- [訪問者模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Behavioral/VisitorPattern) +- [訪問者模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Behavioral/VisitorPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/AbstractFactory/README.md b/DesignPatterns/Creational/AbstractFactory/README.md index d0e36ac..40e6175 100644 --- a/DesignPatterns/Creational/AbstractFactory/README.md +++ b/DesignPatterns/Creational/AbstractFactory/README.md @@ -278,8 +278,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 抽象工廠](https://kantai235.github.io/AbstractFactory) -- [抽象工廠 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/AbstractFactory) -- [抽象工廠 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/AbstractFactoryTest.php) +- [抽象工廠 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/AbstractFactory) +- [抽象工廠 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/AbstractFactoryTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/BuilderPattern/README.md b/DesignPatterns/Creational/BuilderPattern/README.md index e3f8ff7..0ba8cef 100644 --- a/DesignPatterns/Creational/BuilderPattern/README.md +++ b/DesignPatterns/Creational/BuilderPattern/README.md @@ -409,8 +409,8 @@ OK (26 tests, 70 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 建造者模式](https://kantai235.github.io/BuilderPattern) -- [建造者模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/BuilderPattern) -- [建造者模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/BuilderPatternTest.php) +- [建造者模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/BuilderPattern) +- [建造者模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/BuilderPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/FactoryMethod/README.md b/DesignPatterns/Creational/FactoryMethod/README.md index fe4e203..d5beb9f 100644 --- a/DesignPatterns/Creational/FactoryMethod/README.md +++ b/DesignPatterns/Creational/FactoryMethod/README.md @@ -262,8 +262,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 工廠方法](https://kantai235.github.io/FactoryMethod) -- [工廠方法 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/FactoryMethod) -- [工廠方法 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/FactoryMethodTest.php) +- [工廠方法 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/FactoryMethod) +- [工廠方法 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/FactoryMethodTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/PoolPattern/README.md b/DesignPatterns/Creational/PoolPattern/README.md index 0522524..d1ef3fa 100644 --- a/DesignPatterns/Creational/PoolPattern/README.md +++ b/DesignPatterns/Creational/PoolPattern/README.md @@ -227,8 +227,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 物件池模式](https://kantai235.github.io/PoolPattern) -- [物件池模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/PoolPattern) -- [物件池模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/PoolPatternTest.php) +- [物件池模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/PoolPattern) +- [物件池模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/PoolPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/PrototypePattern/README.md b/DesignPatterns/Creational/PrototypePattern/README.md index d45f53c..fc7f0f8 100644 --- a/DesignPatterns/Creational/PrototypePattern/README.md +++ b/DesignPatterns/Creational/PrototypePattern/README.md @@ -198,8 +198,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 原型模式](https://kantai235.github.io/PrototypePattern) -- [原型模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/PrototypePattern) -- [原型模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/PrototypePatternTest.php) +- [原型模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/PrototypePattern) +- [原型模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/PrototypePatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/SimpleFactory/README.md b/DesignPatterns/Creational/SimpleFactory/README.md index b13388f..7b6ae4d 100644 --- a/DesignPatterns/Creational/SimpleFactory/README.md +++ b/DesignPatterns/Creational/SimpleFactory/README.md @@ -166,8 +166,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 簡單工廠](https://kantai235.github.io/SimpleFactory) -- [簡單工廠 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/SimpleFactory) -- [簡單工廠 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/SimpleFactoryTest.php) +- [簡單工廠 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/SimpleFactory) +- [簡單工廠 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/SimpleFactoryTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/SingletonPattern/README.md b/DesignPatterns/Creational/SingletonPattern/README.md index 2644bd3..9dd3bc9 100644 --- a/DesignPatterns/Creational/SingletonPattern/README.md +++ b/DesignPatterns/Creational/SingletonPattern/README.md @@ -127,8 +127,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 單例模式](https://kantai235.github.io/SingletonPattern) -- [單例模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/SingletonPattern) -- [單例模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/SingletonPatternTest.php) +- [單例模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/SingletonPattern) +- [單例模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/SingletonPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Creational/StaticFactory/README.md b/DesignPatterns/Creational/StaticFactory/README.md index d69d1ad..e8a7ad3 100644 --- a/DesignPatterns/Creational/StaticFactory/README.md +++ b/DesignPatterns/Creational/StaticFactory/README.md @@ -243,8 +243,8 @@ OK (24 tests, 68 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 靜態工廠](https://kantai235.github.io/StaticFactory) -- [靜態工廠 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Creational/StaticFactory) -- [靜態工廠 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Creational/StaticFactoryTest.php) +- [靜態工廠 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Creational/StaticFactory) +- [靜態工廠 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Creational/StaticFactoryTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/AdapterPattern/README.md b/DesignPatterns/Structural/AdapterPattern/README.md index 80fa648..60a10d2 100644 --- a/DesignPatterns/Structural/AdapterPattern/README.md +++ b/DesignPatterns/Structural/AdapterPattern/README.md @@ -432,8 +432,8 @@ OK (28 tests, 72 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 轉接器模式](https://kantai235.github.io/AdapterPattern) -- [轉接器模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/AdapterPattern) -- [轉接器模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/AdapterPatternTest.php) +- [轉接器模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/AdapterPattern) +- [轉接器模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/AdapterPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/BridgePattern/README.md b/DesignPatterns/Structural/BridgePattern/README.md index 2be38b6..91b9334 100644 --- a/DesignPatterns/Structural/BridgePattern/README.md +++ b/DesignPatterns/Structural/BridgePattern/README.md @@ -237,8 +237,8 @@ OK (31 tests, 76 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 橋接模式](https://kantai235.github.io/BridgePattern) -- [橋接模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/BridgePattern) -- [橋接模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/BridgePatternTest.php) +- [橋接模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/BridgePattern) +- [橋接模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/BridgePatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/CompositePattern/README.md b/DesignPatterns/Structural/CompositePattern/README.md index f13d2b2..4291bff 100644 --- a/DesignPatterns/Structural/CompositePattern/README.md +++ b/DesignPatterns/Structural/CompositePattern/README.md @@ -227,8 +227,8 @@ OK (34 tests, 81 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 組合模式](https://kantai235.github.io/CompositePattern) -- [組合模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/CompositePattern) -- [組合模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/CompositePatternTest.php) +- [組合模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/CompositePattern) +- [組合模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/CompositePatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/DataMapper/README.md b/DesignPatterns/Structural/DataMapper/README.md index abf00df..c7494e7 100644 --- a/DesignPatterns/Structural/DataMapper/README.md +++ b/DesignPatterns/Structural/DataMapper/README.md @@ -272,8 +272,8 @@ OK (36 tests, 83 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 資料對應](https://kantai235.github.io/DataMapper) -- [資料對應 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/DataMapper) -- [資料對應 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/DataMapperTest.php) +- [資料對應 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/DataMapper) +- [資料對應 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/DataMapperTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/DecoratorPattern/README.md b/DesignPatterns/Structural/DecoratorPattern/README.md index a1294c8..a3277f5 100644 --- a/DesignPatterns/Structural/DecoratorPattern/README.md +++ b/DesignPatterns/Structural/DecoratorPattern/README.md @@ -189,8 +189,8 @@ OK (41 tests, 88 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 修飾模式](https://kantai235.github.io/DecoratorPattern) -- [修飾模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/DecoratorPattern) -- [修飾模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/DecoratorPatternTest.php) +- [修飾模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/DecoratorPattern) +- [修飾模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/DecoratorPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/DependencyInjection/README.md b/DesignPatterns/Structural/DependencyInjection/README.md index 9ecbe60..e302a2f 100644 --- a/DesignPatterns/Structural/DependencyInjection/README.md +++ b/DesignPatterns/Structural/DependencyInjection/README.md @@ -209,8 +209,8 @@ OK (41 tests, 88 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 依賴注入](https://kantai235.github.io/DependencyInjection) -- [依賴注入 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/DependencyInjection) -- [依賴注入 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/DependencyInjectionTest.php) +- [依賴注入 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/DependencyInjection) +- [依賴注入 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/DependencyInjectionTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/FacadePattern/README.md b/DesignPatterns/Structural/FacadePattern/README.md index cfcaf08..8605466 100644 --- a/DesignPatterns/Structural/FacadePattern/README.md +++ b/DesignPatterns/Structural/FacadePattern/README.md @@ -417,8 +417,8 @@ OK (42 tests, 93 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 外觀模式](https://kantai235.github.io/FacadePattern) -- [外觀模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/FacadePattern) -- [外觀模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/FacadePatternTest.php) +- [外觀模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/FacadePattern) +- [外觀模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/FacadePatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/FluentInterface/README.md b/DesignPatterns/Structural/FluentInterface/README.md index 120f1a5..35d363b 100644 --- a/DesignPatterns/Structural/FluentInterface/README.md +++ b/DesignPatterns/Structural/FluentInterface/README.md @@ -118,8 +118,8 @@ OK (43 tests, 94 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 流暢介面](https://kantai235.github.io/FluentInterface) -- [流暢介面 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/FluentInterface) -- [流暢介面 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/FluentInterfaceTest.php) +- [流暢介面 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/FluentInterface) +- [流暢介面 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/FluentInterfaceTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/FlyweightPattern/README.md b/DesignPatterns/Structural/FlyweightPattern/README.md index 8c1040b..2a3ca67 100644 --- a/DesignPatterns/Structural/FlyweightPattern/README.md +++ b/DesignPatterns/Structural/FlyweightPattern/README.md @@ -215,8 +215,8 @@ OK (44 tests, 107 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 享元模式](https://kantai235.github.io/FlyweightPattern) -- [享元模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/FlyweightPattern) -- [享元模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/FlyweightPatternTest.php) +- [享元模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/FlyweightPattern) +- [享元模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/FlyweightPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/ProxyPattern/README.md b/DesignPatterns/Structural/ProxyPattern/README.md index bf908a1..e8dccbb 100644 --- a/DesignPatterns/Structural/ProxyPattern/README.md +++ b/DesignPatterns/Structural/ProxyPattern/README.md @@ -196,8 +196,8 @@ OK (46 tests, 110 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 代理模式](https://kantai235.github.io/ProxyPattern) -- [代理模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/ProxyPattern) -- [代理模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/ProxyPatternTest.php) +- [代理模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/ProxyPattern) +- [代理模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/ProxyPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) diff --git a/DesignPatterns/Structural/RegistryPattern/README.md b/DesignPatterns/Structural/RegistryPattern/README.md index 5eff33e..65e0e7a 100644 --- a/DesignPatterns/Structural/RegistryPattern/README.md +++ b/DesignPatterns/Structural/RegistryPattern/README.md @@ -318,8 +318,8 @@ OK (51 tests, 116 assertions) ## 完整程式碼 [設計模式不難,找回快樂而已,以大頭菜為例。](https://github.com/Kantai235/php-design-pattern) - [技術部落格文章 - 註冊模式](https://kantai235.github.io/RegistryPattern) -- [註冊模式 原始碼](https://github.com/Kantai235/php-design-pattern/master/DesignPatterns/Structural/RegistryPattern) -- [註冊模式 測試](https://github.com/Kantai235/php-design-pattern/master/Tests/Structural/RegistryPatternTest.php) +- [註冊模式 原始碼](https://github.com/Kantai235/php-design-pattern/tree/master/DesignPatterns/Structural/RegistryPattern) +- [註冊模式 測試](https://github.com/Kantai235/php-design-pattern/tree/master/Tests/Structural/RegistryPatternTest.php) ## 參考文獻 - [DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP)