Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Flarum
Core
Post
MergeableInterface
saveAfter
Flarum\Core\Post\MergeableInterface::saveAfter PHP Méthode
MergeableInterface Interface Documentation
Afficher le fichier
Open project: flarum/core
saveAfter()
public
méthode
Save the model, given that it is going to appear immediately after the passed model.
public
saveAfter
(
Post
$previous
= null ) :
Post
$previous
Flarum\Core\Post
Résultat
Flarum\Core\Post
The model resulting after the merge. If the merge is unsuccessful, this should be the current model instance. Otherwise, it should be the model that was merged into.
public function saveAfter(Post $previous = null);
MergeableInterface
saveAfter