|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
*/ |
|
37
|
37
|
public function save(Aggregate $aggregate) |
|
38
|
38
|
{ |
|
39
|
|
- $this->connection->transactional(function () use ($aggregate) { |
|
|
39
|
+ $this->connection->transactional(function() use ($aggregate) { |
|
40
|
40
|
$this->insertOrUpdate($aggregate); |
|
41
|
41
|
|
|
42
|
42
|
foreach ($aggregate->deletedChildEntities() as $childEntity) { |
|
@@ -108,7 +108,7 @@ discard block |
|
|
block discarded – undo |
|
108
|
108
|
|
|
109
|
109
|
public function delete(Aggregate $aggregate) |
|
110
|
110
|
{ |
|
111
|
|
- $this->connection->transactional(function () use ($aggregate) { |
|
|
111
|
+ $this->connection->transactional(function() use ($aggregate) { |
|
112
|
112
|
$this->connection->delete( |
|
113
|
113
|
$this->connection->quoteIdentifier($aggregate::tableName()), |
|
114
|
114
|
$aggregate->identifier() |
Please login to merge, or discard this patch.