public function canMerge(ChangeInterface $subsequentChange) { if (!$subsequentChange instanceof AbstractCreate) { return false; } if ($subsequentChange->getSubject() !== $this->getSubject()) { return false; } return $subsequentChange->canApply(); }