GlobalFactory

Statamic\Data\Globals\GlobalFactory


Inheritance: ContentFactory

Usage

Create a GlobalFactory using the API class. You should pass the handle/slug into the create method.

$factory = Statamic\API\Globals::create('common');

Available Methods

There are no additional methods on this class.

Import using:

use Statamic\Data\Globals\GlobalFactory