mirror of
https://github.com/netzbegruenung/green-directory-php.git
synced 2024-05-02 11:34:52 +02:00
24 lines
349 B
PHP
24 lines
349 B
PHP
<?php
|
|
|
|
namespace Netzbegruenung\GreenDirectory\Model;
|
|
|
|
class Email
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $address;
|
|
|
|
public function __construct(string $address)
|
|
{
|
|
$this->address = $address;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getAddress(): string
|
|
{
|
|
return $this->address;
|
|
}
|
|
} |