mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 04:01:30 +02:00
Methods
This commit is contained in:
@@ -7,6 +7,7 @@ use Intervention\Image\Exceptions\NotWritableException;
|
||||
class EncodedImage
|
||||
{
|
||||
protected $data;
|
||||
protected $mimetype;
|
||||
|
||||
public function __construct(string $data)
|
||||
{
|
||||
@@ -23,6 +24,11 @@ class EncodedImage
|
||||
}
|
||||
}
|
||||
|
||||
public function toDataUrl(): string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->data;
|
||||
|
Reference in New Issue
Block a user