mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-21 14:14:58 +00:00
Included signatureZoneIndex for PdfSignedMessage in class definitions, handlers, and serializers to support signature zones. Updated test cases to reflect this new property, ensuring robust validation for handling and serialization.
25 lines
557 B
PHP
25 lines
557 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\DocStoreBundle\Service\Signature\Driver\BaseSigner;
|
|
|
|
/**
|
|
* Message which is received when a pdf is signed.
|
|
*/
|
|
final readonly class PdfSignedMessage
|
|
{
|
|
public function __construct(
|
|
public readonly int $signatureId,
|
|
public readonly int $signatureZoneIndex,
|
|
public readonly string $content,
|
|
) {}
|
|
}
|