Total Complexity | 7 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
17 | class NegateCondition implements ConditionInterface, HasUrlWhereInterface { |
||
18 | /** |
||
19 | * Condition to negate. |
||
20 | * |
||
21 | * @var ConditionInterface |
||
22 | */ |
||
23 | protected $condition = null; |
||
24 | |||
25 | /** |
||
26 | * Constructor. |
||
27 | * |
||
28 | * @codeCoverageIgnore |
||
29 | * @param ConditionInterface $condition |
||
30 | */ |
||
31 | public function __construct( $condition ) { |
||
32 | $this->condition = $condition; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | public function isSatisfied( RequestInterface $request ) { |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | public function getArguments( RequestInterface $request ) { |
||
46 | return $this->condition->getArguments( $request ); |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * {@inheritDoc} |
||
51 | * @codeCoverageIgnore |
||
52 | */ |
||
53 | public function getUrlWhere() { |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * {@inheritDoc} |
||
63 | * @codeCoverageIgnore |
||
64 | */ |
||
65 | public function setUrlWhere( $where ) { |
||
71 |