Skip to content

Commit 1a2e13b

Browse files
committed
Create new subheading for documentation section
1 parent 058f45a commit 1a2e13b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/architecture-concepts/autodiscovery.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ public function boot(): void
6060
```
6161

6262
Here 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

8387
Yeah, 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.

0 commit comments

Comments
 (0)