fix: make configs serializable
This commit is contained in:
parent
606c641558
commit
b87c1467c6
8 changed files with 175 additions and 207 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue