Slim 3 get current route in middleware

后端 未结 5 1928
故里飘歌
故里飘歌 2021-01-04 13:30

I want to get the name of the current I route in a middleware class. Previously (in Slim 2.*) you could fetch the current route like so:

$route = $this->ap

5条回答
提交回复
热议问题