aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ProjectCategory.php
blob: 3b15f517bb5799501c1b3cf538f17c8e6592681e (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 ProjectCategory {
    /**
     * @var string The name of the bookmark category.
     */
    public $name;

    /**
     * @var array An array of Project objects.
     */
    public $projects;

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