Eager loading with route model binding
<p>I have a controller function like this </p>

<pre><code>public function show(NovelRequest $request, Novel $novel)
{
    // load the chapters
    $novel-&gt;chapters;

    // return the detail view of a novel
    return view('novels.show', compact('novel'));
}
</code></pre>

<p>I receive a novel object because i m using route model binding. However, I'd like to load more than the chapters. Since it would cause many request if i now do something like</p>

<pre><code>$novel-&gt;chapters;
$novel-&gt;bookmarks;
...
</code></pre>

<p>I wondered if theres a way to load "multiple" relations when i already have the novel object. Usually i would to something like</p>

<pre><code>Novel::with('chapters', 'bookmarks')-&gt; ...
</code></pre>

<p>However, I already have the novel object so i would like to not look it up a second time.</p>