you can override parent static
boot
method, but you still need to call it inside
protected static function boot()
    {
        parent::boot();

        static::created(function ($user) {
            //do something with created model
        });
    }
by გიორგი უზნაძე
4 years ago
Laravel
Model
1
Pro tip: use ```triple backticks around text``` to write in code fences