Completed
Pull Request — master (#18)
by Ruben
04:02
created

EmbedCode   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCode() 0 4 1
A setCode() 0 4 1
1
<?php
2
3
namespace MovingImage\Client\VMPro\Entity;
4
5
use MovingImage\Meta\Interfaces\EmbedCodeInterface;
6
7
class EmbedCode implements EmbedCodeInterface
8
{
9
    /**
10
     * @var string
11
     */
12
    private $code;
13
14
    /**
15
     * @return string
16
     */
17
    public function getCode()
18
    {
19
        return $this->code;
20
    }
21
22
    /**
23
     * @param string $code
24
     */
25
    public function setCode($code)
26
    {
27
        $this->code = $code;
28
    }
29
}
30