mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-17 16:42:12 +03:00
23 lines
402 B
PHP
23 lines
402 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Shlinkio\Shlink\Core\Entity;
|
||
|
|
||
|
use Shlinkio\Shlink\Common\Entity\AbstractEntity;
|
||
|
|
||
|
class Domain extends AbstractEntity
|
||
|
{
|
||
|
/** @var string */
|
||
|
private $authority;
|
||
|
|
||
|
public function __construct(string $authority)
|
||
|
{
|
||
|
$this->authority = $authority;
|
||
|
}
|
||
|
|
||
|
public function getAuthority(): string
|
||
|
{
|
||
|
return $this->authority;
|
||
|
}
|
||
|
}
|