1: <?php
2: /**
3: * Sastrawi (https://github.com/sastrawi/sastrawi)
4: *
5: * @link http://github.com/sastrawi/sastrawi for the canonical source repository
6: * @license https://github.com/sastrawi/sastrawi/blob/master/LICENSE The MIT License (MIT)
7: */
8:
9: namespace Sastrawi\Specification;
10:
11: /**
12: * The specification interface. Specification design pattern.
13: *
14: * @link http://martinfowler.com/apsupp/spec.pdf
15: * @link http://mattberther.com/2005/03/25/the-specification-pattern-a-primer
16: */
17: interface SpecificationInterface
18: {
19: /**
20: * @return boolean
21: */
22: public function isSatisfiedBy($value);
23: }
24: