$this->eventDispatcher->
dispatch(new FirstRunWizardFinishedEvent($newState,
$currentState,
$context));
} public function frwShouldRun(): bool
{ if (!
$this->frwAutoRun
) { return false;
} $status =
$this->
getFrwState();
if ($status->
isCompleted()) { return false;
} if ($status->
isFailed() &&
$status->
getFailureCount() > self::FRW_MAX_FAILURES
) { return false;
} return true;
} /**
* @throws StoreLicenseDomainMissingException
* @throws ClientException
*
* @return StorePluginStruct[]
*/