/** * boot * observing model * */ public static function boot() { parent::boot(); Payment::observe(new PaymentObserver()); }