swooletw/laravel-swoole

The model uses observers and will be called three times.

Offen

#376 geöffnet am 12.02.2020

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)PHP (390 Forks)batch import
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.)

  1. Please provide your PHP and Swoole version. (php -v and php --ri swoole) 4.4.15

  2. Please provide your Laravel/Lumen version. 6.x

  3. 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);
}

Contributor Guide