<?php
namespace Fifa\ConnectId\Sdk\Util\PersonLocalXmlSerializer;

use Fifa\ConnectId\Sdk\Model\DataStandard\PersonLocal;

/**
 * Interface PersonLocalXmlSerializerInterface
 * @package Fifa\ConnectId\Sdk\Util\PersonLocalXmlSerializer
 */
interface PersonLocalXmlSerializerInterface
{
    /**
     * @param PersonLocal $personLocal
     * @return string
     */
    public function serialize(PersonLocal $personLocal): string;

    /**
     * @param string $xml
     * @return PersonLocal
     */
    public function deserialize(string $xml): PersonLocal;
}