Completed
Push — master ( 4b358a...24dc9e )
by Adam
13:20 queued 07:42
created

ProductExtraTrait   A

Coupling/Cohesion

Components 0
Dependencies 0

Complexity

Total Complexity 4

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 26
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFeatures() 0 4 1
A getFeatureSet() 0 4 1
A setFeatures() 0 4 1
A setFeatureSet() 0 4 1
1
<?php
2
3
namespace WellCommerce\Bundle\CatalogBundle\Entity\Extra;
4
5
trait ProductExtraTrait
6
{
7
    private $featureSet = null;
8
    
9
    private $features = null;
10
    
11
    public function getFeatures()
12
    {
13
        return $this->features;
14
    }
15
    
16
    public function getFeatureSet()
17
    {
18
        return $this->featureSet;
19
    }
20
    
21
    public function setFeatures($features)
22
    {
23
        $this->features = $features;
24
    }
25
    
26
    public function setFeatureSet($featureSet)
27
    {
28
        $this->featureSet = $featureSet;
29
    }
30
}
31