FormElement   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 0
f 0
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A horizontal() 0 3 1
A wrapped() 0 3 1
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\FormInterface;
7
8
class FormElement extends Element implements FormInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = 'form';
14
15
    /**
16
     * @inheritDoc
17
     */
18
    public function horizontal(bool $horizontal = true): static
19
    {
20
        return $this;
21
    }
22
23
    /**
24
     * @inheritDoc
25
     */
26
    public function wrapped(bool $wrapped = true): static
27
    {
28
        return $this;
29
    }
30
}
31