Skip to content

Commit eb92ff6

Browse files
committed
improved phpDoc description
1 parent bac4278 commit eb92ff6

6 files changed

Lines changed: 15 additions & 8 deletions

File tree

src/Bridges/FormsLatte/Nodes/FormContainerNode.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616

1717
/**
18-
* {formContainer ...}
18+
* {formContainer name} ... {/formContainer}
19+
* Enters form container context for nested controls.
1920
*/
2021
class FormContainerNode extends StatementNode
2122
{

src/Bridges/FormsLatte/Nodes/FormNode.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919

2020

2121
/**
22-
* {form name} ... {/form}
23-
* {formContext ...}
22+
* {form name [, attributes]} ... {/form}
23+
* {formContext name} ... {/formContext}
24+
* Renders form tags and initializes form context.
2425
*/
2526
class FormNode extends StatementNode
2627
{

src/Bridges/FormsLatte/Nodes/FormPrintNode.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414

1515

1616
/**
17-
* {formPrint [ClassName]}
18-
* {formClassPrint [ClassName]}
17+
* {formPrint [name]}
18+
* {formClassPrint [name]}
19+
* Generates Latte template or data class blueprint for form.
1920
*/
2021
class FormPrintNode extends StatementNode
2122
{

src/Bridges/FormsLatte/Nodes/InputErrorNode.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515

1616
/**
17-
* {inputError ...}
17+
* {inputError name}
18+
* Renders form control error message.
1819
*/
1920
class InputErrorNode extends StatementNode
2021
{

src/Bridges/FormsLatte/Nodes/InputNode.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717

1818
/**
19-
* {input ...}
19+
* {input name[:part] [, attributes]}
20+
* Renders form control HTML.
2021
*/
2122
class InputNode extends StatementNode
2223
{

src/Bridges/FormsLatte/Nodes/LabelNode.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020

2121
/**
22-
* {label ...} ... {/label}
22+
* {label name[:part] [, attributes]} ... {/label}
23+
* {label name /}
24+
* Renders form control label.
2325
*/
2426
class LabelNode extends StatementNode
2527
{

0 commit comments

Comments
 (0)