|
@@ 910-912 (lines=3) @@
|
| 907 |
|
return app('League\Flysystem\MountManager')->read($this->image->location()); |
| 908 |
|
} |
| 909 |
|
|
| 910 |
|
if (is_string($this->image) && str_is('*://*', $this->image) && !starts_with($this->image, ['http', '//'])) { |
| 911 |
|
return app('League\Flysystem\MountManager')->read($this->image); |
| 912 |
|
} |
| 913 |
|
|
| 914 |
|
if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
| 915 |
|
return file_get_contents($this->image); |
|
@@ 914-916 (lines=3) @@
|
| 911 |
|
return app('League\Flysystem\MountManager')->read($this->image); |
| 912 |
|
} |
| 913 |
|
|
| 914 |
|
if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
| 915 |
|
return file_get_contents($this->image); |
| 916 |
|
} |
| 917 |
|
|
| 918 |
|
if (is_string($this->image) && file_exists($this->image)) { |
| 919 |
|
return file_get_contents($this->image); |