public function __construct(BookRepo $bookRepo, ChapterRepo $chapterRepo, UserRepo $userRepo) { $this->bookRepo = $bookRepo; $this->chapterRepo = $chapterRepo; $this->userRepo = $userRepo; parent::__construct(); }