No follow-up
BLADE);
}
return Blade::render(<<<'BLADE'
@if ($failedCount > 0)
Failed {{ $failedCount }}
@endif
@if ($skippedCount > 0)
Skipped {{ $skippedCount }}
@endif
@if ($unknownCount > 0)
Unknown {{ $unknownCount }}
@endif
BLADE, [
'failedCount' => $failedCount,
'skippedCount' => $skippedCount,
'unknownCount' => $unknownCount,
]);
}
public static function followUpSummary(?TenantCoverageTypeTruth $topPriorityRow, int $observedItemTotal, int $observedTypeCount): string
{
if (! $topPriorityRow instanceof TenantCoverageTypeTruth) {
return Blade::render(<<<'BLADE'
All covered
BLADE);
}
return Blade::render(<<<'BLADE'
{{ $topPriorityLabel }}
Observed {{ $observedItemTotal }}
{{ $observedTypeCount }} supported types currently observed
BLADE, [
'topPriorityLabel' => $topPriorityRow->label,
'observedItemTotal' => $observedItemTotal,
'observedTypeCount' => $observedTypeCount,
]);
}
}