在 Symfony 中,如何将当前的 URI slugs 作为数组获取?
www.mysite.com/this/that/test/hello/world/7?whatever=true
使用什么命令获取以下数组:
[0] => 'this',
[1] => 'that',
[2] => 'test',
[3] => 'hello',
[4] => 'world',
[5] => '7'
在 Symfony 中,如何将当前的 URI slugs 作为数组获取?
www.mysite.com/this/that/test/hello/world/7?whatever=true
使用什么命令获取以下数组:
[0] => 'this',
[1] => 'that',
[2] => 'test',
[3] => 'hello',
[4] => 'world',
[5] => '7'