Версия 0.9.0 #7
@@ -108,6 +108,9 @@ final class Image implements ImageContract
|
||||
imagedestroy($this->image);
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws CaptchaException
|
||||
*/
|
||||
private function createImageFromPathToFile(string $pathToFile): \GdImage
|
||||
{
|
||||
return match (mime_content_type($pathToFile)) {
|
||||
|
||||
Reference in new issue
Block a user