Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Symfony
Component
Form
FieldInterface
setRequired
Symfony\Component\Form\FieldInterface::setRequired PHP Method
FieldInterface Interface Documentation
Show file
Open project: pmjones/php-framework-benchmarks
setRequired()
public
method
Sets whether this field is required to be filled out when submitted.
public
setRequired
(
boolean
$required
)
$required
boolean
function setRequired($required);
FieldInterface
__clone
addError
bind
getData
getDisplayedData
getId
getKey
getName
getParent
getPropertyPath
isBound
isDisabled
isHidden
isMultipart
isRequired
isValid
setData
setKey
setParent
setPropertyPath
setRequired
updateFromObject
updateObject