From b87c1467c6884910bb7ee28a2f92db284e8af84d Mon Sep 17 00:00:00 2001
From: Frankie B <git@diskfloppy.me>
Date: Wed, 14 Jun 2023 23:35:47 +0100
Subject: fix: make configs serializable

---
 app/Models/Bookmark.php         | 31 -------------------------------
 app/Models/BookmarkCategory.php | 24 ------------------------
 app/Models/Project.php          | 38 --------------------------------------
 app/Models/ProjectCategory.php  | 24 ------------------------
 4 files changed, 117 deletions(-)
 delete mode 100644 app/Models/Bookmark.php
 delete mode 100644 app/Models/BookmarkCategory.php
 delete mode 100644 app/Models/Project.php
 delete mode 100644 app/Models/ProjectCategory.php

(limited to 'app/Models')

diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php
deleted file mode 100644
index 3396242..0000000
--- a/app/Models/Bookmark.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-namespace App\Models;
-
-class Bookmark {
-    /**
-     * @var string The name of the bookmark.
-     */
-    public $name;
-
-    /**
-     * @var string The URL of the bookmark.
-     */
-    public $url;
-
-    /**
-     * @var string The description of the bookmark.
-     */
-    public $description;
-
-    /**
-     * Bookmark constructor.
-     * @param string $name The name of the bookmark.
-     * @param string $url The URL of the bookmark.
-     * @param string $description The description of the bookmark.
-     */
-    public function __construct($name, $url, $description) {
-        $this->name = $name;
-        $this->url = $url;
-        $this->description = $description;
-    }
-}
diff --git a/app/Models/BookmarkCategory.php b/app/Models/BookmarkCategory.php
deleted file mode 100644
index 10c031a..0000000
--- a/app/Models/BookmarkCategory.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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;
-    }
-}
diff --git a/app/Models/Project.php b/app/Models/Project.php
deleted file mode 100644
index 183877e..0000000
--- a/app/Models/Project.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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;
-    }
-}
diff --git a/app/Models/ProjectCategory.php b/app/Models/ProjectCategory.php
deleted file mode 100644
index 3b15f51..0000000
--- a/app/Models/ProjectCategory.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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;
-    }
-}
-- 
cgit v1.2.3-54-g00ecf