$io->
section($name);
/** @var ScheduleProviderInterface $schedule */
$schedule =
$this->schedules->
get($name);
if (!
$messages =
$schedule->
getSchedule()->
getRecurringMessages()) { $io->
warning(sprintf('No recurring messages found for schedule "%s".',
$name));
continue;
} $io->
table( ['Trigger', 'Provider', 'Next Run'
],
array_filter(array_map(self::
renderRecurringMessage(...
),
$messages,
array_fill(0, \
count($messages),
$date),
array_fill(0, \
count($messages),
$input->
getOption('all'
)))),
);
} return 0;
} /**
* @return array{0:string,1:string,2:string}|null
*/
private static function renderRecurringMessage(RecurringMessage
$recurringMessage, \DateTimeImmutable
$date, bool
$all): ?array
{