| 1 | <?php |
||
| 10 | class UniqueIndexStrategy implements UpdateStrategyInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $table; |
||
| 16 | /** |
||
| 17 | * @var WriterUtilityInterface |
||
| 18 | */ |
||
| 19 | private $utility; |
||
| 20 | |||
| 21 | 4 | public function __construct(string $table, WriterUtilityInterface $utility) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Use table unique keys. |
||
| 29 | * |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 3 | public function getRecordIdentifier(DataBagInterface $dataBag): array |
|
| 53 | } |
||
| 54 |