mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-23 17:22:41 +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
|
||||
the given object satisfies the specification.
|
||||
|
||||
Sample:
|
||||
^^^^^^^
|
||||
|
||||
- `RulerZ <https://github.com/K-Phoen/rulerz>`__
|
||||
|
||||
UML Diagram
|
||||
-----------
|
||||
|
||||
@ -73,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
|
||||
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
|
||||
|
Loading…
x
Reference in New Issue
Block a user