]> BookStack Code Mirror - bookstack/blob - app/Services/EntityService.php
Added tests for profile pages
[bookstack] / app / Services / EntityService.php
1 <?php namespace BookStack\Services;
2
3
4 use BookStack\Book;
5 use BookStack\Chapter;
6 use BookStack\Page;
7
8 class EntityService
9 {
10
11     public $book;
12     public $chapter;
13     public $page;
14
15     /**
16      * EntityService constructor.
17      * @param $book
18      * @param $chapter
19      * @param $page
20      */
21     public function __construct(Book $book, Chapter $chapter, Page $page)
22     {
23         $this->book = $book;
24         $this->chapter = $chapter;
25         $this->page = $page;
26     }
27
28
29 }