Move classes to models folder
This commit is contained in:
parent
cf2c13fa26
commit
ad7f3fca65
6 changed files with 113 additions and 131 deletions
22
app/Models/BookmarkCategory.php
Normal file
22
app/Models/BookmarkCategory.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
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