$request->
add(FlowDefinition::
class,
$this->
getCount($input, 'flows'
));
$request->
add( CustomFieldSetDefinition::
class,
$this->
getCount($input, 'attribute-sets'
),
$this->
getCustomFieldOptions($input) );
$request->
add(MailTemplateDefinition::
class,
$this->
getCount($input, 'mail-template'
));
$request->
add(MailHeaderFooterDefinition::
class,
$this->
getCount($input, 'mail-header-footer'
));
$this->eventDispatcher->
dispatch(new DemodataRequestCreatedEvent($request,
$context,
$input));
$demoContext =
$this->demodataService->
generate($request,
$context,
$io);
$io->
table( ['Entity', 'Items', 'Time'
],
$demoContext->
getTimings() );
return self::SUCCESS;
}