private function prepareHeaderFooterData(DemodataContext
$context): array
{ $faker =
$context->
getFaker();
return [ 'id' => Uuid::
randomHex(),
'name' =>
$faker->
text(50
),
'description' =>
$faker->
text(),
'isSystemDefault' => false,
'headerHtml' =>
$this->
generateRandomHTML( 10,
['b', 'i', 'u', 'p', 'h1', 'h2', 'h3', 'h4', 'cite'
],
$context ),
'headerPlain' =>
$faker->
text(),
'footerHtml' =>
$this->
generateRandomHTML( 10,
['b', 'i', 'u', 'p', 'h1', 'h2', 'h3', 'h4', 'cite'
],
$context ),
'footerPlain' =>
$faker->
text(),
];