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
isRequired
Symfony\Component\Form\FieldInterface::isRequired PHP Method
FieldInterface Interface Documentation
Show file
Open project: pmjones/php-framework-benchmarks
isRequired()
public
method
If the field has a parent and the parent is not required, this method will always return false. Otherwise the value set with setRequired() is returned.
public
isRequired
( ) :
boolean
return
boolean
function isRequired();
FieldInterface
__clone
addError
bind
getData
getDisplayedData
getId
getKey
getName
getParent
getPropertyPath
isBound
isDisabled
isHidden
isMultipart
isRequired
isValid
setData
setKey
setParent
setPropertyPath
setRequired
updateFromObject
updateObject