Middleware parameters may be specified when defining the route by separating the middleware name and parameters with a :. Multiple parameters should be delimited by commas:
Oops, I realized my mistake. I have to add a new argument to the handle function. But in my case it's hard to say how many parameters I will have. So I need an array. I tried to separate parameters with a pipe |, but it doesn't work. So the best way I see is to use a dot: