Completed
Push — master ( d3e666...0ef81c )
by Askupa
01:54
created

AddField   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A default_model() 0 8 1
A get_template_path() 0 4 1
1
<?php
2
3
namespace Amarkal\Taxonomy;
4
5
class AddField
6
extends \Amarkal\UI\AbstractComponent
0 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
7
{
8
    public function default_model() 
9
    {
10
        return array(
11
            'type'          => '',
12
            'label'         => '',
13
            'description'   => ''
14
        );
15
    }
16
    
17
    public function get_template_path() 
18
    {
19
        return __DIR__.'/AddField.phtml';
20
    }
21
}