service-captcha/app/ServiceResults/ServiceResultArray.php

17 lines
279 B
PHP

<?php
declare(strict_types=1);
namespace App\ServiceResults;
final class ServiceResultArray extends ServiceResult
{
public function __construct(
private readonly array $data,
) { }
public function getData(): array
{
return $this->data;
}
}