private readonly MailHeaderFooterDefinition
$mailHeaderFooterDefinition ) { } public function getDefinition(): string
{ return MailHeaderFooterDefinition::
class;
} public function generate(int
$numberOfItems, DemodataContext
$context, array
$options =
[]): void
{ $this->
createMailHeaderFooter( $context,
$numberOfItems );
} private function createMailHeaderFooter(DemodataContext
$context, int
$numberOfItems): void
{ $context->
getConsole()->
progressStart($numberOfItems);
$payload =
[];
for ($i = 0;
$i <
$numberOfItems; ++
$i) {