| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class NotSpecification extends CompositeSpecification |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var SpecificationInterface |
||
| 12 | */ |
||
| 13 | private $specification; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor |
||
| 17 | * |
||
| 18 | * @param SpecificationInterface $specification |
||
| 19 | */ |
||
| 20 | public function __construct(SpecificationInterface $specification) |
||
| 21 | { |
||
| 22 | $this->specification = $specification; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function isSatisfiedBy($object) |
||
| 31 | } |
||
| 32 | } |