wah.moe/app/Models/Bookmark.php

30 lines
659 B
PHP
Raw Normal View History

2023-06-14 21:52:00 +00:00
<?php
class Bookmark {
/**
* @var string The name of the bookmark.
*/
public $name;
/**
* @var string The URL of the bookmark.
*/
public $url;
/**
* @var string The description of the bookmark.
*/
public $description;
/**
* Bookmark constructor.
* @param string $name The name of the bookmark.
* @param string $url The URL of the bookmark.
* @param string $description The description of the bookmark.
*/
public function __construct($name, $url, $description) {
$this->name = $name;
$this->url = $url;
$this->description = $description;
}
}