@@ 885-887 (lines=3) @@ | ||
882 | return app('League\Flysystem\MountManager')->read($this->image->location()); |
|
883 | } |
|
884 | ||
885 | if (is_string($this->image) && str_is('*://*', $this->image) && !starts_with($this->image, ['http', '//'])) { |
|
886 | return app('League\Flysystem\MountManager')->read($this->image); |
|
887 | } |
|
888 | ||
889 | if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
|
890 | return file_get_contents($this->image); |
|
@@ 889-891 (lines=3) @@ | ||
886 | return app('League\Flysystem\MountManager')->read($this->image); |
|
887 | } |
|
888 | ||
889 | if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
|
890 | return file_get_contents($this->image); |
|
891 | } |
|
892 | ||
893 | if (is_string($this->image) && file_exists($this->image)) { |
|
894 | return file_get_contents($this->image); |