Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ManaPHP
Mvc
ModelInterface
create
ManaPHP\Mvc\ModelInterface::create PHP Method
ModelInterface Interface Documentation
Datei anzeigen
Open project: manaphp/manaphp
create()
public
method
Inserts a model instance. If the instance already exists in the persistence it will throw an exception Returning true on success or false otherwise.
public
create
(
array
$data
= null,
array
$whiteList
= null ) :
void
$data
array
$whiteList
array
return
void
public function create($data = null, $whiteList = null);
ModelInterface
assign
average
count
create
delete
deleteAll
exists
find
findAll
findFirst
getChangedFields
getReadConnection
getReadConnectionService
getSnapshotData
getSource
getWriteConnection
getWriteConnectionService
hasChanged
max
min
query
save
setConnectionService
setReadConnectionService
setWriteConnectionService
sum
toArray
update
updateAll