Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | abstract class UnarySpecification implements Specifies |
||
12 | { |
||
13 | use Specifying; |
||
14 | |||
15 | private $condition; |
||
16 | |||
17 | public function __construct(Satisfiable $condition) |
||
18 | { |
||
19 | $this->condition = $condition; |
||
20 | } |
||
21 | |||
22 | protected function conditionIsSatisfiedBy($object) : bool |
||
25 | } |
||
26 | |||
27 | public function condition() : Satisfiable |
||
32 |