original_string: public static function bootTranslatable(): void
      {
          static::created(function (Model $model) {
              $model->translations()->saveMany($model->translationCache);
          });
  
          static::updating(function (Model $model) {
              $model->translations()->saveMany($model->translationCache);
          });
      }
code: public static function bootTranslatable(): void
      {
          static::created(function (Model $model) {
              $model->translations()->saveMany($model->translationCache);
          });
  
          static::updating(function (Model $model) {
              $model->translations()->saveMany($model->translationCache);
          });
      }
code_tokens: public static function bootTranslatable ( ) : void { static :: created ( function ( Model $ model ) { $ model -> translations ( ) -> saveMany ( $ model -> translationCache ) ; } ) ; static :: updating ( function ( Model $ model ) { $ model -> translations ( ) -> saveMany ( $ model -> translationCache ) ; } ) ; }
docstring: Boot the translatable trait.
  
  @return void
docstring_tokens: Boot the translatable trait .