26 lines
4.0 KiB
PHP
26 lines
4.0 KiB
PHP
<?php
|
|
|
|
// This file has been auto-generated by the Symfony Routing Component.
|
|
|
|
return [
|
|
'_preview_error' => [['code', '_format'], ['_controller' => 'error_controller::preview', '_format' => 'html'], ['code' => '\\d+'], [['variable', '.', '[^/]++', '_format', true], ['variable', '/', '\\d+', 'code', true], ['text', '/_error']], [], [], []],
|
|
'app.swagger' => [[], ['_controller' => 'nelmio_api_doc.controller.swagger'], [], [['text', '/api/doc.json']], [], [], []],
|
|
'app_league' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::createLeague'], [], [['text', '/api/league/new']], [], [], []],
|
|
'app_update_league' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::updateLeague'], [], [['text', '/api/league/{$leagueId}']], [], [], []],
|
|
'app_join_league' => [['leagueId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::joinLeague'], [], [['text', '/join'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_join_team' => [['leagueId', 'teamId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::joinTeam'], [], [['variable', '/', '[^/]++', 'teamId', true], ['text', '/team'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_get_league' => [['leagueId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::getLeagueById'], [], [['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_get_all_leagues' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::getAllLeagues'], [], [['text', '/api/public/league']], [], [], []],
|
|
'app_accept_join_request' => [['leagueId', 'userId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::acceptJoinRequest'], [], [['text', '/accept'], ['variable', '/', '[^/]++', 'userId', true], ['text', '/user'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_decline_join_request' => [['leagueId', 'captainId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::declineJoinRequest'], [], [['variable', '/', '[^/]++', 'captainId', true], ['text', '/decline'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_get_notifications' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\NotificationController::getAllNotifications'], [], [['text', '/api/notifications']], [], [], []],
|
|
'app_add_season' => [['leagueId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::addSeason'], [], [['text', '/season/create'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_add_team' => [['leagueId', 'seasonId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::addTeam'], [], [['text', '/team'], ['variable', '/', '[^/]++', 'seasonId', true], ['text', '/season'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_create_calendar' => [['leagueId', 'seasonId'], ['_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::createCalendar'], [], [['text', '/calendar'], ['variable', '/', '[^/]++', 'seasonId', true], ['text', '/season'], ['variable', '/', '[^/]++', 'leagueId', true], ['text', '/api/league']], [], [], []],
|
|
'app_user_register' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::createUser'], [], [['text', '/api/register']], [], [], []],
|
|
'app_user_delete' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::deleteUser'], [], [['text', '/api/user/']], [], [], []],
|
|
'app_update_user' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::updateUser'], [], [['text', '/api/user/edit']], [], [], []],
|
|
'app_user_change_password' => [[], ['_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::changePassword'], [], [['text', '/api/user/password']], [], [], []],
|
|
'api_login_check' => [[], [], [], [['text', '/api/login_check']], [], [], []],
|
|
];
|