aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Project.php
blob: 183877e99b5e1078820897a5e3822f437d6bc432 (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
32
33
34
35
36
37
38
<?php
namespace App\Models;

class Project {
    /**
     * @var string The name of the project.
     */
    public $name;

    /**
     * @var string The description of the project.
     */
    public $description;

    /**
     * @var string The URL of the project.
     */
    public $url;

    /**
     * @var array Languages used in the project.
     */
    public $languages;

    /**
     * BookmarkCategory constructor.
     * @param string $name The name of the project.
     * @param string $description The description of the project.
     * @param string The URL of the project.
     * @param array  $languages Languages used in the project.s
     */
    public function __construct($name, $description, $url, $languages = array()) {
        $this->name = $name;
        $this->description = $description;
        $this->url = $url;
        $this->languages = $languages;
    }
}