| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function deleteByUuidAndRelationId( |
||
| 41 | UUID $uuid, |
||
| 42 | StringLiteral $relationId |
||
| 43 | ) { |
||
| 44 | $queryBuilder = $this->createQueryBuilder() |
||
| 45 | ->delete($this->getTableName()) |
||
| 46 | ->where(SchemaConfigurator::UUID_COLUMN . ' = ?') |
||
| 47 | ->andWhere(SchemaConfigurator::RELATION_ID_COLUMN . ' = ?') |
||
| 48 | ->setParameters([$uuid->toNative(), $relationId->toNative()]); |
||
| 49 | |||
| 50 | $queryBuilder->execute(); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |