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
Mongolid
Model
AttributesAccessInterface
fill
Mongolid\Model\AttributesAccessInterface::fill PHP Method
AttributesAccessInterface Interface Documentation
Show file
Open project: leroy-merlin-br/mongolid
fill()
public
method
Set the model attributes using an array.
public
fill
(
array
$input
,
boolean
$force
= false ) :
void
$input
array
The data that will be used to fill the attributes.
$force
boolean
Force fill.
return
void
public function fill(array $input, bool $force = false);
AttributesAccessInterface
cleanAttribute
fill
getAttribute
getAttributes
setAttribute
syncOriginalAttributes