Completed
Push — master ( a13ea2...c5b17a )
by Maxime
07:40
created

Matrix   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTemplate() 0 4 1
A getDefaults() 0 8 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
}