Skip to content

Commit 9752efa

Browse files
authored
Merge pull request #13 from m4olivei/12-videoURL
Issue #12 add support for videoURL in document Metadata.
2 parents ba0b663 + 8b30d7a commit 9752efa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/Document/Metadata.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Metadata extends Base {
2525
protected $excerpt;
2626
protected $campaignData;
2727
protected $transparentToolbar;
28+
protected $videoURL;
2829

2930
/**
3031
* Define optional properties.
@@ -44,6 +45,7 @@ protected function optional() {
4445
'excerpt',
4546
'campaignData',
4647
'transparentToolbar',
48+
'videoURL',
4749
));
4850
}
4951

@@ -309,6 +311,26 @@ public function setTransparentToolbar($value) {
309311
return $this;
310312
}
311313

314+
/**
315+
* Getter for videoURL.
316+
*/
317+
public function getVideoURL() {
318+
return $this->videoURL;
319+
}
320+
321+
/**
322+
* Setter for videoURL.
323+
*
324+
* @param string $videoURL
325+
* Video URL.
326+
*
327+
* @return $this
328+
*/
329+
public function setVideoURL($videoURL) {
330+
$this->videoURL = $videoURL;
331+
return $this;
332+
}
333+
312334
/**
313335
* Validates the keywords attribute.
314336
*/

0 commit comments

Comments
 (0)