Fetch a Person by reference

You can use the PersonManager to fetch a Person by its reference.

<?php

/** @var \Jadu\Quantum\ServiceApiClient\Manager\PersonManager $personManager */
$personManager = $container->get('quantum_service_api_client.manager.person');

$person = $personManager->getByReference('PznQXBOa');

This will give you a Person object, containing information such as:

  • name
  • email
  • address
  • telephone

If the Person has a linked User account, this will also be attached to the returned object.

results matching ""

    No results matching ""