Skip to content

Commit 42a8f01

Browse files
committed
BaseControl::setValue() marked as @internal [Closes #114]
1 parent 79d4642 commit 42a8f01

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

src/Forms/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function setDefaults($values, $erase = FALSE)
5353
* @param array|\Traversable values used to fill the form
5454
* @param bool erase other controls?
5555
* @return self
56+
* @internal
5657
*/
5758
public function setValues($values, $erase = FALSE)
5859
{

src/Forms/Controls/BaseControl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public function getHtmlName()
150150
/**
151151
* Sets control's value.
152152
* @return self
153+
* @internal
153154
*/
154155
public function setValue($value)
155156
{

src/Forms/Controls/Checkbox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function __construct($label = NULL)
3535
* Sets control's value.
3636
* @param bool
3737
* @return self
38+
* @internal
3839
*/
3940
public function setValue($value)
4041
{

src/Forms/Controls/ChoiceControl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function loadHttpData()
5555
* Sets selected item (by key).
5656
* @param string|int
5757
* @return self
58+
* @internal
5859
*/
5960
public function setValue($value)
6061
{

src/Forms/Controls/CsrfProtection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ protected function attached($parent)
4646

4747
/**
4848
* @return self
49+
* @internal
4950
*/
5051
public function setValue($value)
5152
{

src/Forms/Controls/HiddenField.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function __construct($persistentValue = NULL)
3636
* Sets control's value.
3737
* @param string
3838
* @return self
39+
* @internal
3940
*/
4041
public function setValue($value)
4142
{

src/Forms/Controls/MultiChoiceControl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function loadHttpData()
5151
* Sets selected items (by keys).
5252
* @param array
5353
* @return self
54+
* @internal
5455
*/
5556
public function setValue($values)
5657
{

src/Forms/Controls/TextBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ abstract class TextBase extends BaseControl
2828
* Sets control's value.
2929
* @param string
3030
* @return self
31+
* @internal
3132
*/
3233
public function setValue($value)
3334
{

src/Forms/Controls/UploadControl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public function getHtmlName()
7878

7979
/**
8080
* @return self
81+
* @internal
8182
*/
8283
public function setValue($value)
8384
{

src/Forms/Form.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ public function isSuccess()
373373
/**
374374
* Sets the submittor control.
375375
* @return self
376+
* @internal
376377
*/
377378
public function setSubmittedBy(ISubmitterControl $by = NULL)
378379
{

0 commit comments

Comments
 (0)