shlink/module/Core/src/Entity/Domain.php

23 lines
402 B
PHP
Raw Normal View History

2019-09-30 20:42:27 +03:00
<?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;
}
}