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