aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Project.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Project.php')
-rw-r--r--app/Models/Project.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/Models/Project.php b/app/Models/Project.php
new file mode 100644
index 0000000..0b90828
--- /dev/null
+++ b/app/Models/Project.php
@@ -0,0 +1,36 @@
+<?php
+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;
+ }
+}