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
LMongo
Eloquent
Relations
BelongsToMany
save
LMongo\Eloquent\Relations\BelongsToMany::save PHP Method
BelongsToMany Class Documentation
Datei anzeigen
Open project: navruzm/lmongo
save()
public
method
Save a new model and attach it to the parent model.
public
save
(
Model
$model
) :
Model
$model
LMongo\Eloquent\Model
return
LMongo\Eloquent\Model
public function save(Model $model) { $model->save(); $this->attach($model); return $model; }
BelongsToMany
__construct
attach
buildDictionary
create
createMany
detach
getOtherKey
getResults
initRelation
match
save
saveMany
sync