19declare(strict_types=1);
38 throw new Exception();
51 if (array_key_exists($usr_id, $this->senders)) {
52 return $this->senders[$usr_id];
58 $sender = $this->
user($usr_id);
61 $this->senders[$usr_id] = $sender;
isSystemMail(int $usr_id)
getSenderByUsrId(int $usr_id)
__construct(protected ilSetting $settings, protected TemplateEngineFactoryInterface $template_engine_factory, ?int $anonymous_usr_id=null)
userByEmailAddress(string $email_address)
Factory interface for creating template engine instances.