original_string: protected static function boot()
      {
          parent::boot();
  
          static::creating(function ($comment) {
              $comment->{$comment->getKeyName()} = Uuid::uuid4()->toString();
          });
      }
code: protected static function boot()
      {
          parent::boot();
  
          static::creating(function ($comment) {
              $comment->{$comment->getKeyName()} = Uuid::uuid4()->toString();
          });
      }
code_tokens: protected static function boot ( ) { parent :: boot ( ) ; static :: creating ( function ( $ comment ) { $ comment -> { $ comment -> getKeyName ( ) } = Uuid :: uuid4 ( ) -> toString ( ) ; } ) ; }
docstring: The model boot function.
  
  @return void
docstring_tokens: The model boot function .