File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,33 @@ array(2) {
134134}
135135```
136136
137+ To retrieve already parsed ` llms.txt ` object instances, pass the ` parse ` flag to the available extraction methods.
138+
139+
140+ Value of ` $llmsTxts ` when parsed:
141+
142+ ``` php
143+ array(2) {
144+ [0]=>
145+ object(Stolt\LlmsTxt\LlmsTxt)#11 (5) {
146+ ["hasBeenParsed":"Stolt\LlmsTxt\LlmsTxt":private]=>
147+ bool(true)
148+ ["title":"Stolt\LlmsTxt\LlmsTxt":private]=>
149+ string(22) "first llms.txt content"
150+ ["description":"Stolt\LlmsTxt\LlmsTxt":private]=>
151+ string(0) ""
152+ ["details":"Stolt\LlmsTxt\LlmsTxt":private]=>
153+ string(0) ""
154+ ["sections":"Stolt\LlmsTxt\LlmsTxt":private]=>
155+ array(0) {
156+ }
157+ }
158+ [1]=> // ... ommitted for brevity
159+ }
160+ ```
161+
162+
163+
137164### Running tests
138165
139166``` bash
You can’t perform that action at this time.
0 commit comments