Total Complexity | 12 |
Total Lines | 103 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
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 |
||
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 |
||
103 | } |
||
104 | |||
105 | /** |
||
106 | * @return static |
||
107 | */ |
||
108 | public function fullWidth(): static |
||
109 | { |
||
113 |