code: public function multipleAssociationsMenuFor($model, $modelId, array $relations, ModelConfig $config = null) {
          $modelName = $this->resolveModelName($model);
  
          $menuFactory = $this->app->make('Label305\AujaLaravel\Factory\MultipleAssociationsIndexMenuFactory');
          /* @var $menuFactory MultipleAssociationsIndexMenuFactory */
          return $menuFactory->create($modelName, $modelId, $relations, $config);
      }
docs: Builds a menu for a single model entry, where the model has multiple relationships with other models.
  
  The menu will include:
  - An Edit LinkMenuItem;
  - For each of the Relations, a LinkMenuItem for the associated model.
  
  @param Controller|Eloquent|String $model     An object which represents the model to build items for.
  @param int                        $modelId   The id of the model entry.
  @param Relation[]                 $relations The `Relation`s this model has with associated models.
  @param ModelConfig                $config    (optional) The `ModelConfig` to use.
  
  @return Menu the Menu, which can be configured further.