| Total Complexity | 7 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait BinaryUuidSupport |
||
| 12 | { |
||
| 13 | protected function transformParameters(QueryBuilder $qb, string ...$parameters): void |
||
| 14 | { |
||
| 15 | $this->transformUuidsToBytes($qb, $parameters); |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function createWalkerBuilder(array $uuids): WalkerBuilder |
||
| 19 | { |
||
| 20 | return parent::createWalkerBuilder($uuids)->withBinaryUuidCasting($uuids); |
||
| 21 | } |
||
| 22 | |||
| 23 | private function transformUuidsToBytes(QueryBuilder $qb, array $parameters): void |
||
| 36 | // just skip it |
||
| 37 | } |
||
| 38 | } |
||
| 41 |