mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 21:22:30 +00:00
29 lines
478 B
PHP
29 lines
478 B
PHP
<?php namespace BookStack\Services;
|
|
|
|
|
|
use BookStack\Book;
|
|
use BookStack\Chapter;
|
|
use BookStack\Page;
|
|
|
|
class EntityService
|
|
{
|
|
|
|
public $book;
|
|
public $chapter;
|
|
public $page;
|
|
|
|
/**
|
|
* EntityService constructor.
|
|
* @param $book
|
|
* @param $chapter
|
|
* @param $page
|
|
*/
|
|
public function __construct(Book $book, Chapter $chapter, Page $page)
|
|
{
|
|
$this->book = $book;
|
|
$this->chapter = $chapter;
|
|
$this->page = $page;
|
|
}
|
|
|
|
|
|
} |