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