mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
Merge pull request #133 from jhuet/patch-1
Adding RulerZ as a sample for Specification pattern
This commit is contained in:
commit
8024c35cc8
@ -9,6 +9,11 @@ checked against. The composite specification class has one method called
|
|||||||
``isSatisfiedBy`` that returns either true or false depending on whether
|
``isSatisfiedBy`` that returns either true or false depending on whether
|
||||||
the given object satisfies the specification.
|
the given object satisfies the specification.
|
||||||
|
|
||||||
|
Sample:
|
||||||
|
^^^^^^^
|
||||||
|
|
||||||
|
- `RulerZ <https://github.com/K-Phoen/rulerz>`__
|
||||||
|
|
||||||
UML Diagram
|
UML Diagram
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
@ -73,4 +78,4 @@ Tests/SpecificationTest.php
|
|||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Specification
|
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Specification
|
||||||
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
|
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
|
||||||
|
Loading…
x
Reference in New Issue
Block a user