service-captcha/app/Captcha/Dto/ImageBody.php

28 lines
459 B
PHP
Raw Normal View History

<?php declare(strict_types=1);
namespace App\Captcha\Dto;
final readonly class ImageBody
{
public function __construct(
private Image $image,
private array $coordinators
) { }
/**
* @return Image
*/
public function getImage(): Image
{
return $this->image;
}
/**
* @return Coordinators
*/
public function getCoordinators(): array
{
return $this->coordinators;
}
}