src/VariablesModuleServiceProvider.php
public function map(FieldRouter $fields, VersionRouter $versions, AssignmentRouter $assignments)
    {
        $fields->route($this->addon, FieldsController::class);
        $versions->route($this->addon, VersionsController::class);
        $assignments->route($this->addon, AssignmentsController::class, 'admin/variables/groups');
    }
public function map(FieldRouter $fields, VersionRouter $versions, AssignmentRouter $assignments)
    {
        $fields->route($this->addon, FieldsController::class);
        $versions->route($this->addon, VersionsController::class);
        $assignments->route($this->addon, AssignmentsController::class, 'admin/variables/groups');
    }
public function map ( FieldRouter $ fields , VersionRouter $ versions , AssignmentRouter $ assignments ) { $ fields -> route ( $ this -> addon , FieldsController :: class ) ; $ versions -> route ( $ this -> addon , VersionsController :: class ) ; $ assignments -> route ( $ this -> addon , AssignmentsController :: class , 'admin/variables/groups' ) ; }
Map the addon.

@param FieldRouter $fields
@param VersionRouter $versions
@param AssignmentRouter $assignments
Map the addon .