mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
12 lines
236 B
PHP
12 lines
236 B
PHP
<?
|
|
class Tag{
|
|
public $Name;
|
|
public $Url;
|
|
public $UrlName;
|
|
|
|
public function __construct(string $name){
|
|
$this->Name = $name;
|
|
$this->UrlName = Formatter::MakeUrlSafe($this->Name);
|
|
$this->Url = '/subjects/' . $this->UrlName;
|
|
}
|
|
}
|