Attribute   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 5
Bugs 0 Features 0
Metric Value
wmc 2
c 5
b 0
f 0
lcom 1
cbo 1
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A get() 0 4 1
A set() 0 4 1
1
<?php
2
3
namespace Tacone\Bees\Attribute;
4
5
class Attribute extends AbstractAttribute
6
{
7
    protected function get()
8
    {
9
        return $this->storage[$this->path];
10
    }
11
12
    protected function set($arguments)
13
    {
14
        $this->storage[$this->path] = $arguments[0];
15
    }
16
}
17