swooletw/laravel-swoole
View on GitHubThe model uses observers and will be called three times.
Open
#376 opened on Feb 12, 2020
help wanted
Repository metrics
- Stars
- (3,995 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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);
}