Add captcha image generation functionality.
This commit is contained in:
18
app/Captcha/Dto/ImageHead.php
Normal file
18
app/Captcha/Dto/ImageHead.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Captcha\Dto;
|
||||
|
||||
final readonly class ImageHead
|
||||
{
|
||||
public function __construct(
|
||||
private Image $image
|
||||
) { }
|
||||
|
||||
/**
|
||||
* @return Image
|
||||
*/
|
||||
public function getImage(): Image
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user