| @@ 247-256 (lines=10) @@ | ||
| 244 | /** |
|
| 245 | * {@inheritdoc} |
|
| 246 | */ |
|
| 247 | public function getAttachments($videoManagerId, $videoId) |
|
| 248 | { |
|
| 249 | $response = $this->makeRequest( |
|
| 250 | 'GET', |
|
| 251 | sprintf('videos/%s/attachments', $videoId), |
|
| 252 | [self::OPT_VIDEO_MANAGER_ID => $videoManagerId] |
|
| 253 | ); |
|
| 254 | ||
| 255 | return $this->deserialize($response->getBody()->getContents(), 'ArrayCollection<'.Attachment::class.'>'); |
|
| 256 | } |
|
| 257 | ||
| 258 | /** |
|
| 259 | * {@inheritdoc} |
|
| @@ 261-270 (lines=10) @@ | ||
| 258 | /** |
|
| 259 | * {@inheritdoc} |
|
| 260 | */ |
|
| 261 | public function getKeywords($videoManagerId, $videoId) |
|
| 262 | { |
|
| 263 | $response = $this->makeRequest( |
|
| 264 | 'GET', |
|
| 265 | sprintf('videos/%s/keywords', $videoId), |
|
| 266 | [self::OPT_VIDEO_MANAGER_ID => $videoManagerId] |
|
| 267 | ); |
|
| 268 | ||
| 269 | return $this->deserialize($response->getBody()->getContents(), 'ArrayCollection<'.Keyword::class.'>'); |
|
| 270 | } |
|
| 271 | ||
| 272 | /** |
|
| 273 | * {@inheritdoc} |
|