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

ButtonElement::fullWidth()   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 0
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\ButtonInterface;
7
8
class ButtonElement extends Element implements ButtonInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = 'button';
14
15
    /**
16
     * @param string $icon
17
     *
18
     * @return static
19
     */
20
    public function addIcon(string $icon): static
21
    {
22
        return $this;
23
    }
24
25
    /**
26
     * @return static
27
     */
28
    public function addCaret(): static
29
    {
30
        return $this;
31
    }
32
33
    /**
34
     * @return static
35
     */
36
    public function primary(): static
37
    {
38
        return $this;
39
    }
40
41
    /**
42
     * @return static
43
     */
44
    public function secondary(): static
45
    {
46
        return $this;
47
    }
48
49
    /**
50
     * @return static
51
     */
52
    public function large(): static
53
    {
54
        return $this;
55
    }
56
57
    /**
58
     * @return static
59
     */
60
    public function small(): static
61
    {
62
        return $this;
63
    }
64
65
    /**
66
     * @return static
67
     */
68
    public function success(): static
69
    {
70
        return $this;
71
    }
72
73
    /**
74
     * @return static
75
     */
76
    public function info(): static
77
    {
78
        return $this;
79
    }
80
81
    /**
82
     * @return static
83
     */
84
    public function warning(): static
85
    {
86
        return $this;
87
    }
88
89
    /**
90
     * @return static
91
     */
92
    public function danger(): static
93
    {
94
        return $this;
95
    }
96
97
    /**
98
     * @return static
99
     */
100
    public function outline(): static
101
    {
102
        return $this;
103
    }
104
105
    /**
106
     * @return static
107
     */
108
    public function fullWidth(): static
109
    {
110
        return $this;
111
    }
112
}
113