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