public static function bootTranslatable()
    {
        static::addGlobalScope(new TranslatableScope);
        try {
            $observer = app(TranslatableObserverContract::class);
            static::observe($observer);
        } catch (\Exception $exception) {}
    }
public static function bootTranslatable()
    {
        static::addGlobalScope(new TranslatableScope);
        try {
            $observer = app(TranslatableObserverContract::class);
            static::observe($observer);
        } catch (\Exception $exception) {}
    }
public static function bootTranslatable ( ) { static :: addGlobalScope ( new TranslatableScope ) ; try { $ observer = app ( TranslatableObserverContract :: class ) ; static :: observe ( $ observer ) ; } catch ( \ Exception $ exception ) { } }
Boot the soft deleting trait for a model.

@return void
Boot the soft deleting trait for a model .