Skip to content

Commit ede5baa

Browse files
committed
Update InMemoryPage documentation to specify that Extensions API can be used
1 parent 7c38dd2 commit ede5baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/src/Pages/InMemoryPage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* @experimental This feature is experimental and may change substantially before the 1.0.0 release.
1919
*
2020
* When used in a package, it's on the package developer to ensure that the virtual page is registered with Hyde,
21-
* usually within the boot method of the package's service provider, so it can be compiled. This is because
22-
* these pages cannot be discovered by the auto discovery process since there's no source file to parse.
21+
* usually within the boot method of the package's service provider, or a page collection callback in an extension.
22+
* This is because these pages cannot be discovered by the auto discovery process as there's no source files to parse.
2323
*
2424
* This class is especially useful for one-off pages, like pagination pages and the like.
2525
* But if your usage grows, or if you need file-based autodiscovery, you may benefit

0 commit comments

Comments
 (0)