Completed
Push — master ( 3e5a13...3a93f1 )
by Askupa
01:55
created

AddField   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A default_model() 0 8 1
A get_script_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_script_path() 
18
    {
19
        return __DIR__.'/add-field.phtml';
20
    }
21
}