Passed
Push — main ( e821a6...886d9d )
by Sammy
01:38
created
src/Marker.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 /**
4
-  * HTML generator
5
-  * Marker, hommage to Christian François Bouche-Villeneuve aka Chris Marker
6
-  */
4
+ * HTML generator
5
+ * Marker, hommage to Christian François Bouche-Villeneuve aka Chris Marker
6
+ */
7 7
 
8 8
 declare(strict_types=1);
9 9
 
@@ -18,11 +18,11 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-      * ? makes more sense to write
22
-      * Marker::img('path/to/img.jpg', 'An alternative text', ['width' => 34, 'height' => 34])
23
-      * than
24
-      * Marker::img(null, ['src' => 'path/to/img.jpg', 'alt' => 'An alternative text', 'width' => 34, 'height' => 34])
25
-      */
21
+     * ? makes more sense to write
22
+     * Marker::img('path/to/img.jpg', 'An alternative text', ['width' => 34, 'height' => 34])
23
+     * than
24
+     * Marker::img(null, ['src' => 'path/to/img.jpg', 'alt' => 'An alternative text', 'width' => 34, 'height' => 34])
25
+     */
26 26
     public static function img(string $src, string $alt, array $attributes = []): Element
27 27
     {
28 28
         $attributes['src'] ??= $src;
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
         return new Element('img', null, $attributes);
33 33
     }
34 34
     /**
35
-      * ? makes more sense to write
36
-      * Marker::a('controller/task/id', 'Click here', ['class' => 'nav'])
37
-      * than
38
-      * Marker::a('Click here', ['href' => controller/task/id', 'class' => 'nav'])
39
-      */
35
+     * ? makes more sense to write
36
+     * Marker::a('controller/task/id', 'Click here', ['class' => 'nav'])
37
+     * than
38
+     * Marker::a('Click here', ['href' => controller/task/id', 'class' => 'nav'])
39
+     */
40 40
     public static function a(string $href, string $label, array $attributes = []): Element
41 41
     {
42 42
         $attributes['href'] ??= $href;
Please login to merge, or discard this patch.
src/Element.php 1 patch
Indentation   +247 added lines, -247 removed lines patch added patch discarded remove patch
@@ -1,254 +1,254 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-  * HTML generator
4
-  * Element, as in HTML element
5
-  */
3
+ * HTML generator
4
+ * Element, as in HTML element
5
+ */
6 6
 
7 7
 /**
8
-  * show off @method
9
-  *
10
-  * @method string abbr(string $content, array $attr)
11
-  *                creates an abbreviation or an acronym
12
-  * @method string acronym(string $content, array $attr)
13
-  *                creates an acronym (not supported in HTML5. use abbr() instead)
14
-  * @method string address(string $content, array $attr)
15
-  *                creates contact information for the author/owner of a document
16
-  * @method string applet(string $content, array $attr)
17
-  *                creates an embedded applet
18
-  *                (not supported in HTML5. use embed() or <object> instead)
19
-  * @method string area(string $content, array $attr)
20
-  *                creates an area inside an image map
21
-  * @method string article(string $content, array $attr)
22
-  *                creates an article
23
-  * @method string aside(string $content, array $attr)
24
-  *                creates content aside from the page content
25
-  * @method string audio(string $content, array $attr)
26
-  *                creates embedded sound content
27
-  * @method string b(string $content, array $attr)
28
-  *                creates bold text
29
-  * @method string base(string $content, array $attr)
30
-  *                creates an element that specifies the base url/target for all relative urls in a document
31
-  * @method string basefont(string $content, array $attr)
32
-  *                creates an element that specifies a default color, size, and font for all text in a document
33
-  *                (not supported in HTML5. use CSS instead)
34
-  * @method string bdi(string $content, array $attr)
35
-  *                creates an element that isolates a part of text that might be formatted
36
-  *                in a different direction from other text outside it
37
-  * @method string bdo(string $content, array $attr)
38
-  *                creates an element that overrides the current text direction
39
-  * @method string big(string $content, array $attr)
40
-  *                creates an element that defines big text (not supported in HTML5. use CSS instead)
41
-  * @method string blockquote(string $content, array $attr)
42
-  *                creates a section that is quoted from another source
43
-  * @method string body(string $content, array $attr)
44
-  *                creates the document's body
45
-  * @method string br(string $content, array $attr)
46
-  *                creates a single line break
47
-  * @method string button(string $content, array $attr)
48
-  *                creates a clickable button
49
-  * @method string canvas(string $content, array $attr)
50
-  *                used to draw graphics, on the fly, via scripting (usually javascript)
51
-  * @method string caption(string $content, array $attr)
52
-  *                creates a table caption
53
-  * @method string center(string $content, array $attr)
54
-  *                defines centered text (not supported in HTML5. use CSS instead)
55
-  * @method string cite(string $content, array $attr)
56
-  *                creates the title of a work
57
-  * @method string code(string $content, array $attr)
58
-  *                creates a piece of computer code
59
-  * @method string col(string $content, array $attr)
60
-  *                specifies column properties for each column within a <colgroup> element
61
-  * @method string colgroup(string $content, array $attr)
62
-  *                specifies a group of one or more columns in a table for formatting
63
-  * @method string data(string $content, array $attr)
64
-  *                adds a machine-readable translation of a given content
65
-  * @method string datalist(string $content, array $attr)
66
-  *                specifies a list of pre-defined options for input controls
67
-  * @method string dd(string $content, array $attr)
68
-  *                creates a description/value of a term in a description list
69
-  * @method string del(string $content, array $attr)
70
-  *                creates text that has been deleted from a document
71
-  * @method string details(string $content, array $attr)
72
-  *                creates additional details that the user can view or hide
73
-  * @method string dfn(string $content, array $attr)
74
-  *                specifies a term that is going to be defined within the content
75
-  * @method string dialog(string $content, array $attr)
76
-  *                creates a dialog box or window
77
-  * @method string dir(string $content, array $attr)
78
-  *                defines a directory list (not supported in HTML5. use ul() instead)
79
-  * @method string div(string $content, array $attr)
80
-  *                creates a section in a document
81
-  * @method string dl(string $content, array $attr)
82
-  *                creates a description list
83
-  * @method string dt(string $content, array $attr)
84
-  *                creates a term/name in a description list
85
-  * @method string em(string $content, array $attr)
86
-  *                creates emphasized text
87
-  * @method string embed(string $content, array $attr)
88
-  *                creates a container for an external application
89
-  * @method string fieldset(string $content, array $attr)
90
-  *                groups related elements in a form
91
-  * @method string figcaption(string $content, array $attr)
92
-  *                creates a caption for a <figure> element
93
-  * @method string figure(string $content, array $attr)
94
-  *                specifies self-contained content
95
-  * @method string font(string $content, array $attr)
96
-  *                defines font, color, and size for text    (not supported in HTML5. use CSS instead)
97
-  * @method string footer(string $content, array $attr)
98
-  *                creates a footer for a document or section
99
-  * @method string form(string $content, array $attr)
100
-  *                creates an HTML form for user input
101
-  * @method string frame(string $content, array $attr)
102
-  *                defines a window (a frame) in a frameset (not supported in HTML5)
103
-  * @method string frameset(string $content, array $attr)
104
-  *                defines a set of frames   (not supported in HTML5)
105
-  * @method string h1(string $content, array $attr)
106
-  *                creates HTML headings 1
107
-  * @method string h2(string $content, array $attr)
108
-  *                creates HTML headings 2
109
-  * @method string h3(string $content, array $attr)
110
-  *                creates HTML headings 3
111
-  * @method string h4(string $content, array $attr)
112
-  *                creates HTML headings 4
113
-  * @method string h5(string $content, array $attr)
114
-  *                creates HTML headings 5
115
-  * @method string h6(string $content, array $attr)
116
-  *                creates HTML headings 6
117
-  * @method string head(string $content, array $attr)
118
-  *                contains metadata/information for the document
119
-  * @method string header(string $content, array $attr)
120
-  *                creates a header for a document or section
121
-  * @method string hr(string $content, array $attr)
122
-  *                creates a thematic change in the content
123
-  * @method string html(string $content, array $attr)
124
-  *                creates the root of an HTML document
125
-  * @method string i(string $content, array $attr)
126
-  *                creates a part of text in an alternate voice or mood
127
-  * @method string iframe(string $content, array $attr)
128
-  *                creates an inline frame
129
-  * @method string input(string $content, array $attr)
130
-  *                creates an input control
131
-  * @method string ins(string $content, array $attr)
132
-  *                creates a text that has been inserted into a document
133
-  * @method string kbd(string $content, array $attr)
134
-  *                creates keyboard input
135
-  * @method string label(string $content, array $attr)
136
-  *                creates a label for an <input> element
137
-  * @method string legend(string $content, array $attr)
138
-  *                creates a caption for a <fieldset> element
139
-  * @method string li(string $content, array $attr)
140
-  *                creates a list item
141
-  * @method string link(string $content, array $attr)
142
-  *                creates the relationship between a document and an external resource
143
-  *                (most used to link to style sheets)
144
-  * @method string main(string $content, array $attr)
145
-  *                specifies the main content of a document
146
-  * @method string map(string $content, array $attr)
147
-  *                creates an image map
148
-  * @method string mark(string $content, array $attr)
149
-  *                creates marked/highlighted text
150
-  * @method string meta(string $content, array $attr)
151
-  *                creates metadata about an HTML document
152
-  * @method string meter(string $content, array $attr)
153
-  *                creates a scalar measurement within a known range (a gauge)
154
-  * @method string nav(string $content, array $attr)
155
-  *                creates navigation links
156
-  * @method string noframes(string $content, array $attr)
157
-  *                defines an alternate content for users that do not support frames
158
-  *                (not supported in HTML5)
159
-  * @method string noscript(string $content, array $attr)
160
-  *                creates an alternate content for users that do not support client-side scripts
161
-  * @method string object(string $content, array $attr)
162
-  *                creates a container for an external application
163
-  * @method string ol(string $content, array $attr)
164
-  *                creates an ordered list
165
-  * @method string optgroup(string $content, array $attr)
166
-  *                creates a group of related options in a drop-down list
167
-  * @method string option(string $content, array $attr)
168
-  *                creates an option in a drop-down list
169
-  * @method string output(string $content, array $attr)
170
-  *                creates the result of a calculation
171
-  * @method string p(string $content, array $attr)
172
-  *                 creates a paragraph
173
-  * @method string param(string $content, array $attr)
174
-  *                 creates a parameter for an object
175
-  * @method string picture(string $content, array $attr)
176
-  *                 creates a container for multiple image resources
177
-  * @method string pre(string $content, array $attr)
178
-  *                 creates preformatted text
179
-  * @method string progress(string $content, array $attr) represents the progress of a task
180
-  * @method string q(string $content, array $attr)
181
-  *                 creates a short quotation
182
-  * @method string rp(string $content, array $attr)
183
-  *                 creates what to show in browsers that do not support ruby annotations
184
-  * @method string rt(string $content, array $attr)
185
-  *                 creates an explanation/pronunciation of characters (for east asian typography)
186
-  * @method string ruby(string $content, array $attr)
187
-  *                 creates a ruby annotation (for east asian typography)
188
-  * @method string s(string $content, array $attr)
189
-  *                 creates text that is no longer correct
190
-  * @method string samp(string $content, array $attr)
191
-  *                 creates sample output from a computer program
192
-  * @method string script(string $content, array $attr)
193
-  *                 creates a client-side script
194
-  * @method string section(string $content, array $attr)
195
-  *                 creates a section in a document
196
-  * @method string select(string $content, array $attr)
197
-  *                 creates a drop-down list
198
-  * @method string small(string $content, array $attr)
199
-  *                 creates smaller text
200
-  * @method string source(string $content, array $attr)
201
-  *                 creates multiple media resources for media elements (<video> and <audio>)
202
-  * @method string span(string $content, array $attr)
203
-  *                 creates a section in a document
204
-  * @method string strike(string $content, array $attr) defines strikethrough text
205
-  *                (not supported in HTML5. use del() or s() instead)
206
-  * @method string strong(string $content, array $attr)
207
-  *                 creates important text
208
-  * @method string style(string $content, array $attr)
209
-  *                 creates style information for a document
210
-  * @method string sub(string $content, array $attr)
211
-  *                 creates subscripted text
212
-  * @method string summary(string $content, array $attr)
213
-  *                 creates a visible heading for a <details> element
214
-  * @method string sup(string $content, array $attr)
215
-  *                 creates superscripted text
216
-  * @method string svg(string $content, array $attr)
217
-  *                 creates a container for svg graphics
218
-  * @method string table(string $content, array $attr)
219
-  *                 creates a table
220
-  * @method string tbody(string $content, array $attr) groups the body content in a table
221
-  * @method string td(string $content, array $attr)
222
-  *                 creates a cell in a table
223
-  * @method string template(string $content, array $attr)
224
-  *                 creates a container for content that should be hidden when the page loads
225
-  * @method string textarea(string $content, array $attr)
226
-  *                 creates a multiline input control (text area)
227
-  * @method string tfoot(string $content, array $attr) groups the footer content in a table
228
-  * @method string th(string $content, array $attr)
229
-  *                 creates a header cell in a table
230
-  * @method string thead(string $content, array $attr) groups the header content in a table
231
-  * @method string time(string $content, array $attr)
232
-  *                 creates a specific time (or datetime)
233
-  * @method string title(string $content, array $attr)
234
-  *                 creates a title for the document
235
-  * @method string tr(string $content, array $attr)
236
-  *                 creates a row in a table
237
-  * @method string track(string $content, array $attr)
238
-  *                 creates text tracks for media elements (<video> and <audio>)
239
-  * @method string tt(string $content, array $attr)
240
-  *                 creates an element that defines teletype text (not supported in HTML5. use CSS instead)
241
-  * @method string u(string $content, array $attr)
242
-  *                 creates some text that is unarticulated and styled differently from normal text
243
-  * @method string ul(string $content, array $attr)
244
-  *                 creates an unordered list
245
-  * @method string var(string $content, array $attr)
246
-  *                 creates a variable
247
-  * @method string video(string $content, array $attr)
248
-  *                 creates embedded video content
249
-  * @method string wbr(string $content, array $attr)
250
-  *                 creates a possible line-break
251
-  */
8
+ * show off @method
9
+ *
10
+ * @method string abbr(string $content, array $attr)
11
+ *                creates an abbreviation or an acronym
12
+ * @method string acronym(string $content, array $attr)
13
+ *                creates an acronym (not supported in HTML5. use abbr() instead)
14
+ * @method string address(string $content, array $attr)
15
+ *                creates contact information for the author/owner of a document
16
+ * @method string applet(string $content, array $attr)
17
+ *                creates an embedded applet
18
+ *                (not supported in HTML5. use embed() or <object> instead)
19
+ * @method string area(string $content, array $attr)
20
+ *                creates an area inside an image map
21
+ * @method string article(string $content, array $attr)
22
+ *                creates an article
23
+ * @method string aside(string $content, array $attr)
24
+ *                creates content aside from the page content
25
+ * @method string audio(string $content, array $attr)
26
+ *                creates embedded sound content
27
+ * @method string b(string $content, array $attr)
28
+ *                creates bold text
29
+ * @method string base(string $content, array $attr)
30
+ *                creates an element that specifies the base url/target for all relative urls in a document
31
+ * @method string basefont(string $content, array $attr)
32
+ *                creates an element that specifies a default color, size, and font for all text in a document
33
+ *                (not supported in HTML5. use CSS instead)
34
+ * @method string bdi(string $content, array $attr)
35
+ *                creates an element that isolates a part of text that might be formatted
36
+ *                in a different direction from other text outside it
37
+ * @method string bdo(string $content, array $attr)
38
+ *                creates an element that overrides the current text direction
39
+ * @method string big(string $content, array $attr)
40
+ *                creates an element that defines big text (not supported in HTML5. use CSS instead)
41
+ * @method string blockquote(string $content, array $attr)
42
+ *                creates a section that is quoted from another source
43
+ * @method string body(string $content, array $attr)
44
+ *                creates the document's body
45
+ * @method string br(string $content, array $attr)
46
+ *                creates a single line break
47
+ * @method string button(string $content, array $attr)
48
+ *                creates a clickable button
49
+ * @method string canvas(string $content, array $attr)
50
+ *                used to draw graphics, on the fly, via scripting (usually javascript)
51
+ * @method string caption(string $content, array $attr)
52
+ *                creates a table caption
53
+ * @method string center(string $content, array $attr)
54
+ *                defines centered text (not supported in HTML5. use CSS instead)
55
+ * @method string cite(string $content, array $attr)
56
+ *                creates the title of a work
57
+ * @method string code(string $content, array $attr)
58
+ *                creates a piece of computer code
59
+ * @method string col(string $content, array $attr)
60
+ *                specifies column properties for each column within a <colgroup> element
61
+ * @method string colgroup(string $content, array $attr)
62
+ *                specifies a group of one or more columns in a table for formatting
63
+ * @method string data(string $content, array $attr)
64
+ *                adds a machine-readable translation of a given content
65
+ * @method string datalist(string $content, array $attr)
66
+ *                specifies a list of pre-defined options for input controls
67
+ * @method string dd(string $content, array $attr)
68
+ *                creates a description/value of a term in a description list
69
+ * @method string del(string $content, array $attr)
70
+ *                creates text that has been deleted from a document
71
+ * @method string details(string $content, array $attr)
72
+ *                creates additional details that the user can view or hide
73
+ * @method string dfn(string $content, array $attr)
74
+ *                specifies a term that is going to be defined within the content
75
+ * @method string dialog(string $content, array $attr)
76
+ *                creates a dialog box or window
77
+ * @method string dir(string $content, array $attr)
78
+ *                defines a directory list (not supported in HTML5. use ul() instead)
79
+ * @method string div(string $content, array $attr)
80
+ *                creates a section in a document
81
+ * @method string dl(string $content, array $attr)
82
+ *                creates a description list
83
+ * @method string dt(string $content, array $attr)
84
+ *                creates a term/name in a description list
85
+ * @method string em(string $content, array $attr)
86
+ *                creates emphasized text
87
+ * @method string embed(string $content, array $attr)
88
+ *                creates a container for an external application
89
+ * @method string fieldset(string $content, array $attr)
90
+ *                groups related elements in a form
91
+ * @method string figcaption(string $content, array $attr)
92
+ *                creates a caption for a <figure> element
93
+ * @method string figure(string $content, array $attr)
94
+ *                specifies self-contained content
95
+ * @method string font(string $content, array $attr)
96
+ *                defines font, color, and size for text    (not supported in HTML5. use CSS instead)
97
+ * @method string footer(string $content, array $attr)
98
+ *                creates a footer for a document or section
99
+ * @method string form(string $content, array $attr)
100
+ *                creates an HTML form for user input
101
+ * @method string frame(string $content, array $attr)
102
+ *                defines a window (a frame) in a frameset (not supported in HTML5)
103
+ * @method string frameset(string $content, array $attr)
104
+ *                defines a set of frames   (not supported in HTML5)
105
+ * @method string h1(string $content, array $attr)
106
+ *                creates HTML headings 1
107
+ * @method string h2(string $content, array $attr)
108
+ *                creates HTML headings 2
109
+ * @method string h3(string $content, array $attr)
110
+ *                creates HTML headings 3
111
+ * @method string h4(string $content, array $attr)
112
+ *                creates HTML headings 4
113
+ * @method string h5(string $content, array $attr)
114
+ *                creates HTML headings 5
115
+ * @method string h6(string $content, array $attr)
116
+ *                creates HTML headings 6
117
+ * @method string head(string $content, array $attr)
118
+ *                contains metadata/information for the document
119
+ * @method string header(string $content, array $attr)
120
+ *                creates a header for a document or section
121
+ * @method string hr(string $content, array $attr)
122
+ *                creates a thematic change in the content
123
+ * @method string html(string $content, array $attr)
124
+ *                creates the root of an HTML document
125
+ * @method string i(string $content, array $attr)
126
+ *                creates a part of text in an alternate voice or mood
127
+ * @method string iframe(string $content, array $attr)
128
+ *                creates an inline frame
129
+ * @method string input(string $content, array $attr)
130
+ *                creates an input control
131
+ * @method string ins(string $content, array $attr)
132
+ *                creates a text that has been inserted into a document
133
+ * @method string kbd(string $content, array $attr)
134
+ *                creates keyboard input
135
+ * @method string label(string $content, array $attr)
136
+ *                creates a label for an <input> element
137
+ * @method string legend(string $content, array $attr)
138
+ *                creates a caption for a <fieldset> element
139
+ * @method string li(string $content, array $attr)
140
+ *                creates a list item
141
+ * @method string link(string $content, array $attr)
142
+ *                creates the relationship between a document and an external resource
143
+ *                (most used to link to style sheets)
144
+ * @method string main(string $content, array $attr)
145
+ *                specifies the main content of a document
146
+ * @method string map(string $content, array $attr)
147
+ *                creates an image map
148
+ * @method string mark(string $content, array $attr)
149
+ *                creates marked/highlighted text
150
+ * @method string meta(string $content, array $attr)
151
+ *                creates metadata about an HTML document
152
+ * @method string meter(string $content, array $attr)
153
+ *                creates a scalar measurement within a known range (a gauge)
154
+ * @method string nav(string $content, array $attr)
155
+ *                creates navigation links
156
+ * @method string noframes(string $content, array $attr)
157
+ *                defines an alternate content for users that do not support frames
158
+ *                (not supported in HTML5)
159
+ * @method string noscript(string $content, array $attr)
160
+ *                creates an alternate content for users that do not support client-side scripts
161
+ * @method string object(string $content, array $attr)
162
+ *                creates a container for an external application
163
+ * @method string ol(string $content, array $attr)
164
+ *                creates an ordered list
165
+ * @method string optgroup(string $content, array $attr)
166
+ *                creates a group of related options in a drop-down list
167
+ * @method string option(string $content, array $attr)
168
+ *                creates an option in a drop-down list
169
+ * @method string output(string $content, array $attr)
170
+ *                creates the result of a calculation
171
+ * @method string p(string $content, array $attr)
172
+ *                 creates a paragraph
173
+ * @method string param(string $content, array $attr)
174
+ *                 creates a parameter for an object
175
+ * @method string picture(string $content, array $attr)
176
+ *                 creates a container for multiple image resources
177
+ * @method string pre(string $content, array $attr)
178
+ *                 creates preformatted text
179
+ * @method string progress(string $content, array $attr) represents the progress of a task
180
+ * @method string q(string $content, array $attr)
181
+ *                 creates a short quotation
182
+ * @method string rp(string $content, array $attr)
183
+ *                 creates what to show in browsers that do not support ruby annotations
184
+ * @method string rt(string $content, array $attr)
185
+ *                 creates an explanation/pronunciation of characters (for east asian typography)
186
+ * @method string ruby(string $content, array $attr)
187
+ *                 creates a ruby annotation (for east asian typography)
188
+ * @method string s(string $content, array $attr)
189
+ *                 creates text that is no longer correct
190
+ * @method string samp(string $content, array $attr)
191
+ *                 creates sample output from a computer program
192
+ * @method string script(string $content, array $attr)
193
+ *                 creates a client-side script
194
+ * @method string section(string $content, array $attr)
195
+ *                 creates a section in a document
196
+ * @method string select(string $content, array $attr)
197
+ *                 creates a drop-down list
198
+ * @method string small(string $content, array $attr)
199
+ *                 creates smaller text
200
+ * @method string source(string $content, array $attr)
201
+ *                 creates multiple media resources for media elements (<video> and <audio>)
202
+ * @method string span(string $content, array $attr)
203
+ *                 creates a section in a document
204
+ * @method string strike(string $content, array $attr) defines strikethrough text
205
+ *                (not supported in HTML5. use del() or s() instead)
206
+ * @method string strong(string $content, array $attr)
207
+ *                 creates important text
208
+ * @method string style(string $content, array $attr)
209
+ *                 creates style information for a document
210
+ * @method string sub(string $content, array $attr)
211
+ *                 creates subscripted text
212
+ * @method string summary(string $content, array $attr)
213
+ *                 creates a visible heading for a <details> element
214
+ * @method string sup(string $content, array $attr)
215
+ *                 creates superscripted text
216
+ * @method string svg(string $content, array $attr)
217
+ *                 creates a container for svg graphics
218
+ * @method string table(string $content, array $attr)
219
+ *                 creates a table
220
+ * @method string tbody(string $content, array $attr) groups the body content in a table
221
+ * @method string td(string $content, array $attr)
222
+ *                 creates a cell in a table
223
+ * @method string template(string $content, array $attr)
224
+ *                 creates a container for content that should be hidden when the page loads
225
+ * @method string textarea(string $content, array $attr)
226
+ *                 creates a multiline input control (text area)
227
+ * @method string tfoot(string $content, array $attr) groups the footer content in a table
228
+ * @method string th(string $content, array $attr)
229
+ *                 creates a header cell in a table
230
+ * @method string thead(string $content, array $attr) groups the header content in a table
231
+ * @method string time(string $content, array $attr)
232
+ *                 creates a specific time (or datetime)
233
+ * @method string title(string $content, array $attr)
234
+ *                 creates a title for the document
235
+ * @method string tr(string $content, array $attr)
236
+ *                 creates a row in a table
237
+ * @method string track(string $content, array $attr)
238
+ *                 creates text tracks for media elements (<video> and <audio>)
239
+ * @method string tt(string $content, array $attr)
240
+ *                 creates an element that defines teletype text (not supported in HTML5. use CSS instead)
241
+ * @method string u(string $content, array $attr)
242
+ *                 creates some text that is unarticulated and styled differently from normal text
243
+ * @method string ul(string $content, array $attr)
244
+ *                 creates an unordered list
245
+ * @method string var(string $content, array $attr)
246
+ *                 creates a variable
247
+ * @method string video(string $content, array $attr)
248
+ *                 creates embedded video content
249
+ * @method string wbr(string $content, array $attr)
250
+ *                 creates a possible line-break
251
+ */
252 252
 
253 253
 declare(strict_types=1);
254 254
 
Please login to merge, or discard this patch.