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

ChoiceAreaAjax   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
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 15
rs 10
wmc 2
lcom 0
cbo 1

2 Methods

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