Render   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace EnergieProduction\Chart\Renderable;
4
5
use EnergieProduction\Chart\Contracts\Renderable;
6
7
class Render implements Renderable {
8
9
    /**
10
     * [handle description]
11
     * @param  string $key
12
     * @param  mixed $content
13
     * @return array
14
     */        
15
    public function handle($key, $content)
16
    {
17
        return [$key => $content];
18
    }
19
}
20