|
@@ 845-847 (lines=3) @@
|
| 842 |
|
return app('League\Flysystem\MountManager')->read($this->image->location()); |
| 843 |
|
} |
| 844 |
|
|
| 845 |
|
if (is_string($this->image) && str_is('*://*', $this->image) && !starts_with($this->image, ['http', '//'])) { |
| 846 |
|
return app('League\Flysystem\MountManager')->read($this->image); |
| 847 |
|
} |
| 848 |
|
|
| 849 |
|
if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
| 850 |
|
return file_get_contents($this->image); |
|
@@ 849-851 (lines=3) @@
|
| 846 |
|
return app('League\Flysystem\MountManager')->read($this->image); |
| 847 |
|
} |
| 848 |
|
|
| 849 |
|
if (is_string($this->image) && (file_exists($this->image) || starts_with($this->image, ['http', '//']))) { |
| 850 |
|
return file_get_contents($this->image); |
| 851 |
|
} |
| 852 |
|
|
| 853 |
|
if (is_string($this->image) && file_exists($this->image)) { |
| 854 |
|
return file_get_contents($this->image); |