original_string: public function menus() : BelongsToMany
      {
          $pivotTable = config('admin.database.role_menu_table');
  
          $relatedModel = config('admin.database.menu_model');
  
          return $this->belongsToMany($relatedModel, $pivotTable, 'role_id', 'menu_id');
      }
code: public function menus() : BelongsToMany
      {
          $pivotTable = config('admin.database.role_menu_table');
  
          $relatedModel = config('admin.database.menu_model');
  
          return $this->belongsToMany($relatedModel, $pivotTable, 'role_id', 'menu_id');
      }
code_tokens: public function menus ( ) : BelongsToMany { $ pivotTable = config ( 'admin.database.role_menu_table' ) ; $ relatedModel = config ( 'admin.database.menu_model' ) ; return $ this -> belongsToMany ( $ relatedModel , $ pivotTable , 'role_id' , 'menu_id' ) ; }
docstring: A role belongs to many menus.
  
  @return BelongsToMany
docstring_tokens: A role belongs to many menus .