Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ObjectIdCondition implements ConditionInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var null|int|string |
||
14 | */ |
||
15 | private $id; |
||
16 | |||
17 | /** |
||
18 | * Apply object id filtering |
||
19 | * |
||
20 | * @param null|int|string $id |
||
21 | */ |
||
22 | public function __construct($id = null) |
||
23 | { |
||
24 | $this->id = $id; |
||
25 | } |
||
26 | |||
27 | public function apply(QueryBuilder $queryBuilder) |
||
33 | ; |
||
34 | } |
||
37 |