| title | GlobalSet |
|---|---|
| class | Statamic\API\GlobalSet |
| id | a53ff28d-8421-4bde-bfdf-7288942cc6d3 |
We'd call this class Global if PHP was cool with it. But it isn't.
GlobalSet::all(); // Returns GlobalCollectionGlobalSet::find($id); // Returns GlobalSetGlobalSet::whereHandle($handle); // Returns GlobalSetThis returns an instance of a GlobalFactory to allow you to chain and build your global.
GlobalSet::create($handle); // Returns GlobalFactory