aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Bookmark.php
blob: 3396242e8564ad8189abd7d37fc887f8126f57d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
namespace App\Models;

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;
    }
}