| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Logo extends AbstractDetector implements Detectable |
||
| 20 | { |
||
| 21 | use Arrayable; |
||
| 22 | use Jsonable; |
||
| 23 | |||
| 24 | public function getOriginalResponse(): RepeatedField |
||
| 25 | { |
||
| 26 | $response = $this |
||
| 27 | ->imageAnnotatorClient |
||
| 28 | ->logoDetection($this->file->toVisionFile()); |
||
| 29 | |||
| 30 | return $response->getLogoAnnotations(); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function detect(): ?Generator |
||
| 44 | } |
||
| 45 | } |
||
| 47 |