Completed
Push — master ( d503c6...f36f04 )
by Askupa
02:05
created

AddField::get_template_path()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Amarkal\Taxonomy;
4
5
class AddField
0 ignored issues
show
Bug introduced by
There is one abstract method get_script_path in this class; you could implement it, or declare this class as abstract.
Loading history...
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__.'/add-field.phtml';
20
    }
21
}