ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilMailAddress.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilMailAddress
implements
Stringable
26
{
27
public
function
__construct
(
protected
string
$mailbox,
protected
string
$host)
28
{
29
}
30
31
public
function
setHost
(
string
$host): void
32
{
33
$this->host = $host;
34
}
35
36
public
function
setMailbox
(
string
$mailbox): void
37
{
38
$this->mailbox = $mailbox;
39
}
40
41
public
function
getHost
(): string
42
{
43
return
$this->host;
44
}
45
46
47
public
function
getMailbox
(): string
48
{
49
return
$this->mailbox;
50
}
51
52
public
function
__toString
(): string
53
{
54
return
implode(
'@'
, [
55
$this->
getMailbox
(),
56
$this->
getHost
(),
57
]);
58
}
59
}
ilMailAddress\getMailbox
getMailbox()
Definition:
class.ilMailAddress.php:47
ilMailAddress\setMailbox
setMailbox(string $mailbox)
Definition:
class.ilMailAddress.php:36
ilMailAddress\__toString
__toString()
Definition:
class.ilMailAddress.php:52
ilMailAddress\getHost
getHost()
Definition:
class.ilMailAddress.php:41
ilMailAddress\__construct
__construct(protected string $mailbox, protected string $host)
Definition:
class.ilMailAddress.php:27
Stringable
ilMailAddress\setHost
setHost(string $host)
Definition:
class.ilMailAddress.php:31
ilMailAddress
Class ilMailAddress.
Definition:
class.ilMailAddress.php:25
Services
Mail
classes
Address
class.ilMailAddress.php
Generated on Wed Sep 10 2025 14:11:35 for ILIAS by
1.8.13 (using
Doxyfile
)