File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
docs/architecture-concepts Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,11 @@ public function boot(): void
6060```
6161
6262Here you'll see that we boot the three collections. This is where all the autodiscovery magic happens!
63- We'll take a closer look at each of these in a second, but first, here's how the "lazy-booting" works.
63+
64+ #### Deep dive into lazy-booting
65+
66+ If you're curious about how the kernel is lazy-booted, here's how it works!
67+ Feel free to skip this section if this doesn't interest you.
6468
6569``` php
6670// This will boot the kernel if it hasn't been booted yet
@@ -81,4 +85,4 @@ public function pages(): PageCollection
8185```
8286
8387Yeah, it's really unglamorous I know. But it works! Having it like this will ensure that any time you call ` Hyde::pages() ` ,
84- that underlying collection will always have been booted and be ready to use.
88+ that underlying collection will always have been booted and be ready to use.
You can’t perform that action at this time.
0 commit comments