Matrix   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 14
ccs 0
cts 9
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTemplate() 0 3 1
A getDefaults() 0 6 1
1
<?php namespace Distilleries\FormBuilder\Fields;
2
3
class Matrix extends FormFieldsView {
4
5
    protected function getTemplate()
6
    {
7
        return 'matrix';
8
    }
9
10
11
    protected function getDefaults()
12
    {
13
14
        return [
15
            'lines' => [],
16
            'cols'  => []
17
        ];
18
    }
19
}