Logo
Explore Help
Sign In
kor-elf/service-captcha
1
0
Fork 0
You've already forked service-captcha
Code Issues Pull Requests Packages Projects Releases 5 Wiki Activity
service-captcha/app/Captcha/Contracts/ImageManager.php
Leonid Nikitin 81635b4efa
This commit adds an ImageManager class that handles the creation of Image instances. It implements an ImageManagerContract, thereby adhering to set guidelines for the creation of captchas. The ImageManager class contains a createImage method capable of creating new instances of Image, allowing for increased flexibility and consistency in CAPTCHA image generation.
2023-06-28 17:26:15 +06:00

9 lines
158 B
PHP
Raw Blame History

<?php declare(strict_types=1);
namespace App\Captcha\Contracts;
interface ImageManager
{
public function createImage(int $width, int $height): Image;
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses