| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class DevGoogleImageTaggingService extends GoogleImageTaggingService implements ImageTaggingServiceInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Unlike production, our dev service grabs the actual image data from |
||
| 12 | * our local URL and throws it at Google directly, because its URLs |
||
| 13 | * aren't public. We don't read off the filesystem because filesystem |
||
| 14 | * storage is just one option in Liip Imagine (or even Vich uploader.) |
||
| 15 | * |
||
| 16 | * @return resource|bool |
||
| 17 | */ |
||
| 18 | protected function getImageToSend(Image $image) |
||
| 44 |