EmbedVideo   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 21
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCode() 0 4 1
1
<?php
2
3
namespace Realshadow\Redtube\Entities;
4
5
use Illuminate\Support\Collection;
6
use JMS\Serializer\Annotation as JMS;
7
8
9
/**
10
 * Embed Video
11
 *
12
 * @package Realshadow\Redtube\Entities
13
 * @author Lukáš Homza <[email protected]>
14
 *
15
 * @JMS\XmlRoot("embed")
16
 */
17
class EmbedVideo
18
{
19
20
    /**
21
     * @var string $code
22
     *
23
     * @JMS\XmlElement()
24
     * @JMS\Type("string")
25
     * @JMS\SerializedName("code")
26
     */
27
    protected $code;
28
29
    /**
30
     * @return string
31
     */
32
    public function getCode()
33
    {
34
        return $this->code;
35
    }
36
37
}
38