From a149d87b332d69a7f48ba4371d4a07ce8010878e Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Fri, 29 Oct 2021 18:10:34 +0200 Subject: [PATCH] Methods --- src/EncodedImage.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/EncodedImage.php b/src/EncodedImage.php index b7691860..fa01f656 100644 --- a/src/EncodedImage.php +++ b/src/EncodedImage.php @@ -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;