| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | class QueryVarCondition implements ConditionInterface { |
||
| 20 | /** |
||
| 21 | * Query var name to check against. |
||
| 22 | * |
||
| 23 | * @var string|null |
||
| 24 | */ |
||
| 25 | protected $query_var = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Query var value to check against. |
||
| 29 | * |
||
| 30 | * @var string|null |
||
| 31 | */ |
||
| 32 | protected $value = ''; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Constructor. |
||
| 36 | * |
||
| 37 | * @codeCoverageIgnore |
||
| 38 | * @param string $query_var |
||
| 39 | * @param string|null $value |
||
| 40 | */ |
||
| 41 | public function __construct( $query_var, $value = null ) { |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritDoc} |
||
| 48 | */ |
||
| 49 | public function isSatisfied( RequestInterface $request ) { |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritDoc} |
||
| 65 | */ |
||
| 66 | public function getArguments( RequestInterface $request ) { |
||
| 70 |