<?php
namespace Fifa\ConnectId\Command\BulkRegistration\Helpers;

/**
 * Class PersonApi
 * @package Fifa\ConnectId\Sdk\ApiClient\Person
 */
class PersonApi
{
    /**
     * Registers a new person and assigns FIFA Unique Identifier.
     * If duplicates are found the person is not registered.
     * Uses 'PersonLocalType' as defined in FIFA Data Standard.
     *
     * @param \Fifa\ConnectId\Sdk\Model\PersonData $personData - object containing information about local and international names of the person, as well as the date of birth.
     * @param string|null $personLocalId - Local identifier of person
     * @return string
     */
    public function register($personData, $personLocalId = null)
    {
        usleep(1000000);
    }
}