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
DomCrawler
Form
offsetSet
Symfony\Component\DomCrawler\Form::offsetSet PHP Method
Form Class Documentation
Show file
Open project: symfony/symfony
offsetSet()
public
method
Sets the value of a field.
public
offsetSet
(
string
$name
,
string
|
array
$value
)
$name
string
The field name
$value
string
|
array
The value of the field
public function offsetSet($name, $value) { $this->fields->set($name, $value); }
Form
__construct
addField
all
disableValidation
get
getFiles
getFormNode
getMethod
getPhpFiles
getPhpValues
getRawUri
getUri
getValues
has
initialize
offsetExists
offsetGet
offsetSet
offsetUnset
remove
set
setNode
setValues