Skip to content

Commit

Permalink
BaseControl::setValue() marked as @internal [Closes #114]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 30, 2016
1 parent 9425f1e commit 8774b3f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Forms/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function setDefaults($values, $erase = FALSE)
* @param array|\Traversable values used to fill the form
* @param bool erase other controls?
* @return self
* @internal
*/
public function setValues($values, $erase = FALSE)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/BaseControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public function getHtmlName()
/**
* Sets control's value.
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/Checkbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function __construct($label = NULL)
* Sets control's value.
* @param bool
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/ChoiceControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function loadHttpData()
* Sets selected item (by key).
* @param string|int
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/CsrfProtection.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ protected function attached($parent)

/**
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/HiddenField.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function __construct($persistentValue = NULL)
* Sets control's value.
* @param string
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/MultiChoiceControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function loadHttpData()
* Sets selected items (by keys).
* @param array
* @return self
* @internal
*/
public function setValue($values)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/TextBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ abstract class TextBase extends BaseControl
* Sets control's value.
* @param string
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/UploadControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function getHtmlName()

/**
* @return self
* @internal
*/
public function setValue($value)
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ public function isSuccess()
/**
* Sets the submittor control.
* @return self
* @internal
*/
public function setSubmittedBy(ISubmitterControl $by = NULL)
{
Expand Down

0 comments on commit 8774b3f

Please sign in to comment.