Exemple #1
0
 /**
  * PageRepo constructor.
  * @param PageRevision $pageRevision
  * @param TagRepo $tagRepo
  */
 public function __construct(PageRevision $pageRevision, TagRepo $tagRepo)
 {
     $this->pageRevision = $pageRevision;
     $this->tagRepo = $tagRepo;
     parent::__construct();
 }
Exemple #2
0
 /**
  * BookRepo constructor.
  * @param PageRepo $pageRepo
  * @param ChapterRepo $chapterRepo
  */
 public function __construct(PageRepo $pageRepo, ChapterRepo $chapterRepo)
 {
     $this->pageRepo = $pageRepo;
     $this->chapterRepo = $chapterRepo;
     parent::__construct();
 }
 /**
  * ChapterRepo constructor.
  * @param $pageRepo
  */
 public function __construct(PageRepo $pageRepo)
 {
     $this->pageRepo = $pageRepo;
     parent::__construct();
 }