Input   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
3
namespace AnilcanCakir\Former\Fields;
4
5
class Input extends Field
6
{
7
    /**
8
     * The type of input.
9
     *
10
     * @var string
11
     */
12
    protected $type = 'text';
13
14
    /**
15
     * Get type of input.
16
     *
17
     * @return string
18
     */
19
    public function getType()
20
    {
21
        return $this->type;
22
    }
23
}
24