| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function findOne(string $tagName): Tag |
||
| 28 | { |
||
| 29 | $url = Endpoint::exploreTags($tagName); |
||
| 30 | $data = $this->fetchContentAsArray($url); |
||
| 31 | |||
| 32 | $data = $this->exploreTagsMapper->normalizeData(Tag::class, $data); |
||
| 33 | |||
| 34 | return $this->exploreTagsMapper->populate(Tag::class, $data); |
||
| 35 | } |
||
| 47 | } |