Class FamilyTreeStateFactory
The state factory is responsible for instantiating state classes from REST API responses.
Class FamilyTreeStateFactory
- Gedcomx\Rs\Client\StateFactory
- Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory
- Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeStateFactory
Namespace: Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree
Package: Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree
Located at Extensions/FamilySearch/Rs/Client/FamilyTree/FamilyTreeStateFactory.php
Package: Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree
Located at Extensions/FamilySearch/Rs/Client/FamilyTree/FamilyTreeStateFactory.php
Methods summary
public
|
#
newCollectionState( null $uri = null, string $method = "GET", GuzzleHttp\Client $client = null )
Creates a new collection state from the specified parameters. Since a response is provided as a parameter, a REST API request will not be invoked. |
Methods inherited from Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory
Methods inherited from Gedcomx\Rs\Client\StateFactory
__construct()
,
createState()
,
newCollectionsState()
,
newDiscoveryState()
,
newPersonState()
Constants summary
Constants inherited from Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory
MEMORIES_INTEGRATION_URI
,
MEMORIES_URI
,
PLACES_INTEGRATION_URI
,
PLACES_URI
Constants inherited from Gedcomx\Rs\Client\StateFactory
INTEGRATION_DISCOVERY_URI
,
INTEGRATION_URI
,
PRODUCTION_DISCOVERY_URI
,
PRODUCTION_URI