src/Label305/AujaLaravel/Auja.php
public function associationMenuFor($modelName, $modelId, $associationName, ModelConfig $config = null) {
        $menuFactory = $this->app->make('Label305\AujaLaravel\Factory\AssociationMenuFactory');
        /* @var $menuFactory AssociationMenuFactory */
        return $menuFactory->create($modelName, $modelId, $associationName, $config);
    }
public function associationMenuFor($modelName, $modelId, $associationName, ModelConfig $config = null) {
        $menuFactory = $this->app->make('Label305\AujaLaravel\Factory\AssociationMenuFactory');
        /* @var $menuFactory AssociationMenuFactory */
        return $menuFactory->create($modelName, $modelId, $associationName, $config);
    }
Builds a menu for displaying associated items to a model entry (i.e. /club/21/team).

The menu will include:
- An Add LinkMenuItem;
- A SpacerMenuItem with the name of the associated model;
- A ResourceMenuItem to hold entries of the associated model.

@param String      $modelName       The name of the model (i.e. Club).
@param int         $modelId         The id of the model entry.
@param String      $associationName The name of the associated model (i.e. Team).
@param ModelConfig $config          (optional) The `ModelConfig` to use.

@return Menu the Menu, which can be configured further.