1 | <?php |
||
10 | class Not extends AbstractSpecification |
||
11 | { |
||
12 | /** |
||
13 | * @var Specification |
||
14 | */ |
||
15 | private $specification; |
||
16 | |||
17 | /** |
||
18 | * Constructor. |
||
19 | * |
||
20 | * @param Specification $specification The specification to negate. |
||
21 | */ |
||
22 | public function __construct(Specification $specification) |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function getRule(): string |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getParameters(): array |
||
42 | } |
||
43 |