Merge pull request #133 from jhuet/patch-1

Adding RulerZ as a sample for Specification pattern
This commit is contained in:
Dominik Liebler
2015-04-29 13:22:28 +02:00

View File

@@ -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