BaseFileElement::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Ngtfkx\Laradeck\FormBuilder\Elements;
4
5
6
abstract class BaseFileElement extends AbstractElement
7
{
8
    protected $removeAttributes = [
9
        'value'
10
    ];
11
12
    public function __construct(?string $name = null)
13
    {
14
        parent::__construct();
15
16
        $this->name($name);
17
    }
18
}