28 lines
459 B
PHP
28 lines
459 B
PHP
<?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;
|
|
}
|
|
}
|