]> BookStack Code Mirror - bookstack/blob - app/Sorting/BookSortMapItem.php
Comments: Fixed tab focus change & button placement on form usage
[bookstack] / app / Sorting / BookSortMapItem.php
1 <?php
2
3 namespace BookStack\Sorting;
4
5 class BookSortMapItem
6 {
7     /**
8      * @var int
9      */
10     public $id;
11
12     /**
13      * @var int
14      */
15     public $sort;
16
17     /**
18      * @var ?int
19      */
20     public $parentChapterId;
21
22     /**
23      * @var string
24      */
25     public $type;
26
27     /**
28      * @var int
29      */
30     public $parentBookId;
31
32     public function __construct(int $id, int $sort, ?int $parentChapterId, string $type, int $parentBookId)
33     {
34         $this->id = $id;
35         $this->sort = $sort;
36         $this->parentChapterId = $parentChapterId;
37         $this->type = $type;
38         $this->parentBookId = $parentBookId;
39     }
40 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.