swooletw/laravel-swoole
The model uses observers and will be called three times.
Offen
#376 geöffnet am 12.02.2020
help wanted
Repository-Metriken
- Stars
- (3.995 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)
-
Please provide your PHP and Swoole version. (
php -vandphp --ri swoole) 4.4.15 -
Please provide your Laravel/Lumen version. 6.x
-
Which release version of this package are you using?
new version
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
UserUser::observe(UserUserObserver::class);
}
Output three times here
public function saved(UserUser $entry)
{dump(1111);
}