mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 14:50:39 -04:00
11 lines
266 B
PHP
11 lines
266 B
PHP
<?
|
|
class Collection{
|
|
public $Name;
|
|
public $Url;
|
|
|
|
public function __construct(string $name){
|
|
$this->Name = $name;
|
|
$this->Url = '/collections/' . strtolower(str_replace(' ', '-', Formatter::ToPlainText(Formatter::RemoveDiacritics($this->Name)))) . '/';
|
|
}
|
|
}
|
|
?>
|