1<?
php declare(strict_types=1);
40 $addresses = $this->origin->value();
42 $filteredAddresses = array_filter($addresses,
function (
ilMailAddress $address) {
44 if (
$c((
string) $address)) {
49 if ($address->getHost() === $this->installationHost) {
53 if (
'#' === substr($address->getMailbox(), 0, 1)) {
60 return $filteredAddresses;
An exception for terminatinating execution or to throw for unit testing.
Class ilMailOnlyExternalAddressList.
__construct(ilMailAddressList $origin, string $installationHost, callable $getUsrIdByLoginCallable)
ilMailOnlyExternalAddressList constructor.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Interface ilMailAddressList.