BaseTextElement   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace Ngtfkx\Laradeck\FormBuilder\Elements;
4
5
6
abstract class BaseTextElement extends AbstractElement
7
{
8
    public function __construct(?string $name = null, ?string $value = null)
9
    {
10
        parent::__construct();
11
12
        $this->name($name);
13
14
        $this->value($value);
15
    }
16
}