aboutsummaryrefslogtreecommitdiff
path: root/app/Models/BookmarkCategory.php
blob: 0f2335de992545ebec404bcf3b1a68a456116292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
class BookmarkCategory {
    /**
     * @var string The name of the bookmark category.
     */
    public $name;

    /**
     * @var array An array of Bookmark objects.
     */
    public $bookmarks;

    /**
     * BookmarkCategory constructor.
     * @param string $name The name of the bookmark category.
     * @param array $bookmarks An array of Bookmark objects.
     */
    public function __construct($name, $bookmarks = array()) {
        $this->name = $name;
        $this->bookmarks = $bookmarks;
    }
}