diff options
Diffstat (limited to 'app/Models/ProjectCategory.php')
-rw-r--r-- | app/Models/ProjectCategory.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/Models/ProjectCategory.php b/app/Models/ProjectCategory.php new file mode 100644 index 0000000..babe265 --- /dev/null +++ b/app/Models/ProjectCategory.php @@ -0,0 +1,22 @@ +<?php +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; + } +} |