gedcomx-php-client
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rs
          • Client
            • FamilyTree
            • Helpers
            • Memories
            • Util
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rs
      • Client
        • Exception
        • Options
        • Util
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

  • ChangeHistoryState
  • ChildAndParentsRelationshipState
  • FamilyTreeCollectionState
  • FamilyTreePersonChildrenState
  • FamilyTreePersonParentsState
  • FamilyTreePersonState
  • FamilyTreeRelationshipsState
  • FamilyTreeRelationshipState
  • FamilyTreeStateFactory

Interfaces

  • PreferredRelationshipState

Class FamilyTreeStateFactory

The state factory is responsible for instantiating state classes from REST API responses.

Class FamilyTreeStateFactory

Gedcomx\Rs\Client\StateFactory
Extended by Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory
Extended by 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

Methods summary

public Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeCollectionState
# 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.

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.

Parameters

$uri
$method
The method.
$client
The client to use.

Returns

Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeCollectionState
The collection state.

Overrides

Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory::newCollectionState

Methods inherited from Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory

newMemoriesState(), newPlacesState()

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

gedcomx-php-client API documentation generated by ApiGen