Completed
Pull Request — develop (#1350)
by Naveen
04:17 queued 01:06
created

Default_Embedded_Video::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Wordlift\Videoobject\Data\Embedded_Video;
3
/**
4
 * @since 3.31.0
5
 * @author Naveen Muthusamy <[email protected]>
6
 */
7
8
class Default_Embedded_Video implements Embedded_Video {
9
10
	/**
11
	 * @var string The url of the video which got embedded.
12
	 */
13
	private $video_url;
14
15
	public function __construct( $video_url ) {
16
		$this->video_url = $video_url;
17
	}
18
19
	public function get_api_provider() {
20
		// TODO: Implement get_api_provider() method.
21
	}
22
23
	public function get_url() {
24
		return $this->video_url;
25
	}
26
}