19 declare(strict_types=1);
    36         protected string $installationHost,
    44         $addresses = $this->origin->value();
    46         return array_filter($addresses, 
function (
ilMailAddress $address): 
bool {
    47             if (($this->getUsrIdByLoginCallable)((
string) $address)) {
    52             if ($address->getHost() === $this->installationHost) {
    56             return !str_starts_with($address->getMailbox(), 
'#');
 Class ilMailOnlyExternalAddressList. 
 
Interface ilMailAddressList. 
 
__construct(protected ilMailAddressList $origin, protected string $installationHost, callable $getUsrIdByLoginCallable)