Closed bakura10 closed 9 years ago
I call this the "expressive routing language".
return [ 'routes' => [ ['GET|POST /users AS users', UserController::class] => [ ['GET|PUT|DELETE /:id WITH id=[0-9]+ AS user', UserController::class, 'myAction'], ['GET /tweets AS tweets', TweetController::class] ] ] ];
I call this the "expressive routing language".