migration for history, and create history location on each change

This commit is contained in:
2022-02-14 23:03:40 +01:00
parent 441704dc29
commit b9dbb1916a
6 changed files with 324 additions and 173 deletions

View File

@@ -33,6 +33,10 @@ class MembersEditor
public const VALIDATION_GROUP_CREATED = 'household_memberships_created';
private EventDispatcherInterface $eventDispatcher;
private array $events = [];
private ?Household $household = null;
private array $membershipsAffected = [];
@@ -41,12 +45,8 @@ class MembersEditor
private array $persistables = [];
private array $events = [];
private ValidatorInterface $validator;
private EventDispatcherInterface $eventDispatcher;
public function __construct(ValidatorInterface $validator, ?Household $household, EventDispatcherInterface $eventDispatcher)
{
$this->validator = $validator;