PageFactory

Statamic\Data\Pages\PageFactory


Inheritance: ContentFactory

Usage

Create a PageFactory using the API class. You should pass the URI into the create method.

$factory = Statamic\API\Page::create('/about');

Available Methods

There are no additional methods on this class.

Import using:

use Statamic\Data\Pages\PageFactory