2023-06-28 17:29:56 +06:00
|
|
|
<?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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2023-09-19 14:21:56 +06:00
|
|
|
* @return array
|
2023-06-28 17:29:56 +06:00
|
|
|
*/
|
|
|
|
public function getCoordinators(): array
|
|
|
|
{
|
|
|
|
return $this->coordinators;
|
|
|
|
}
|
|
|
|
}
|