19 declare(strict_types=1);
40 $arguments = array_map(
static function ($value) {
41 return $value->getValue();
44 $DIC->logger()->mail()->info(
'Mail delivery background task executed');
46 $DIC->logger()->mail()->debug(sprintf(
48 json_encode(array_slice($arguments, 0, 5), JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT)
56 $mail->setSaveInSentbox((
bool) $input[8]->
getValue());
58 ->withContextId((
string) $input[9]->
getValue())
59 ->withContextParameters((array) unserialize($input[10]->
getValue(), [
'allowed_classes' =>
false]));
67 (array) unserialize($input[6]->
getValue(), [
'allowed_classes' =>
false]),
71 $DIC->logger()->mail()->info(
'Mail delivery background task finished');
ILIAS BackgroundTasks Value $output
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getExpectedTimeOfTaskInSeconds()
run(array $input, Observer $observer)