Passed
Push — main ( 7f60ea...60225c )
by Thierry
08:29
created

TabNavItemElement::enabled()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\TabNavItemInterface;
7
8
class TabNavItemElement extends Element implements TabNavItemInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = '';
14
15
    /**
16
     * @param string $target
17
     *
18
     * @return static
19
     */
20
    public function target(string $target): static
21
    {
22
        return $this;
23
    }
24
25
    /**
26
     * @param bool $active
27
     *
28
     * @return static
29
     */
30
    public function active(bool $active = false): static
31
    {
32
        return $this;
33
    }
34
35
    /**
36
     * @param bool $enabled
37
     *
38
     * @return static
39
     */
40
    public function enabled(bool $enabled): static
41
    {
42
        return $this;
43
    }
44
}
45