[ 'pattern' => '/users', 'paths' => [ 'namespace' => 'App\User\Controllers', 'controller' => 'index', 'action' => 'main', ], 'httpMethods' => ['GET'], ], 'user:add' => [ 'pattern' => '/add-user', 'paths' => [ 'namespace' => 'App\User\Controllers', 'controller' => 'add', 'action' => 'main', ], 'httpMethods' => ['GET', 'POST'], ], 'user:show' => [ 'pattern' => '/users/{id}', 'paths' => [ 'namespace' => 'App\User\Controllers', 'controller' => 'show', 'action' => 'main', ], 'httpMethods' => ['GET'], ], 'user:delete' => [ 'pattern' => '/users/{id}/delete', 'paths' => [ 'namespace' => 'App\User\Controllers', 'controller' => 'delete', 'action' => 'main', ], 'httpMethods' => ['GET'], ], ];