In my opinion this does not work with the new middleware concept currently. But you have access to configs and session, where you are able to store parameters to. Last but not least you have access to the route object, so things like $param = $route->getParameter('param'); should be possible.
Btw there are some discussions about that topic, too and an example about the parameter solution.
http://laravel.io/forum/10-15-2014-laravel-5-passing-parameters-to-middleware-handlers http://www.codeheaps.com/php-programming/laravel-5-middleware-stack-decoded/
An finally the parameter example: http://blog.hernandev.com/en/testing-laravel-5-middlewares
Hope it helps a bit!