1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 12:11:26 +02:00
This commit is contained in:
Oliver Vogel
2021-10-29 18:10:34 +02:00
parent 99038d3a75
commit a149d87b33

View File

@@ -7,6 +7,7 @@ use Intervention\Image\Exceptions\NotWritableException;
class EncodedImage class EncodedImage
{ {
protected $data; protected $data;
protected $mimetype;
public function __construct(string $data) public function __construct(string $data)
{ {
@@ -23,6 +24,11 @@ class EncodedImage
} }
} }
public function toDataUrl(): string
{
return '';
}
public function __toString(): string public function __toString(): string
{ {
return $this->data; return $this->data;