mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 12:11:26 +02:00
Methods
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user