Collection
Page\Collection
Magento\Cms\Model\ResourceModel\Page\Collection
What it does
This collection class is used to retrieve and manage groups of CMS pages in Magento 2.
Developers use it to load multiple pages at once, filter them by store view, and prepare page data for display or processing.
It's commonly used in controllers, blocks, and repositories when working with multiple CMS pages rather than a single page instance.
Public Methods
- setFirstStoreFlag()
- addStoreFilter()