AbstractRender   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 29
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getContenu() 0 4 1
A setData() 0 6 1
A setContenu() 0 6 1
A getData() 0 4 1
1
<?php
2
3
namespace Starkerxp\CampaignBundle\Render;
4
5
/**
6
 * Description of AbstractRender.
7
 *
8
 * @author DIEU
9
 */
10
abstract class AbstractRender implements RenderInterface
11
{
12
    protected $contenu;
13
    protected $data;
14
15
    public function getContenu()
16
    {
17
        return $this->contenu;
18
    }
19
20
    public function setContenu($contenu)
21
    {
22
        $this->contenu = $contenu;
23
24
        return $this;
25
    }
26
27
    public function getData()
28
    {
29
        return $this->data;
30
    }
31
32
    public function setData(array $data)
33
    {
34
        $this->data = $data;
35
36
        return $this;
37
    }
38
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
39