File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,20 @@ The two creation methods (`createSitemap` and `createSitemapIndex`) will return
148148of the root sitemap file. If there is only 1 sitemap created, it will return just that URL.
149149If multiple sitemaps are created, then a Sitemap Index is generated and the URL to that is returned.
150150
151+ ### List of Created Files
152+
153+ You can get a list (array) of files the Factory has created by using the ` getFilesCreated ` method.
154+
155+ ``` php
156+ $files = $sitemapFactory->getFilesCreated();
157+ ```
158+
159+ ### Return Value
160+
161+ The two creation methods (` createSitemap ` and ` createSitemapIndex ` ) will return the URL
162+ of the root sitemap file. If there is only 1 sitemap created, it will return just that URL.
163+ If multiple sitemaps are created, then a Sitemap Index is generated and the URL to that is returned.
164+
151165
152166## Running Tests
153167
You can’t perform that action at this time.
0 commit comments