<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\ApiAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'event/submit', 'EventController@submit'); }); 