aboutsummaryrefslogtreecommitdiff
path: root/app/Models/BookmarkCategory.php
blob: 10c031ae0cfe1758352906f00dd98756f3f01897 (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
<?php
namespace App\Models;

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