I have a named route using a controller working perfectly. An issue arises when I chain a parameter validator, to ensure the passed question id is numeric.
Route::get('/question/{id}',
array('as' => 'question_route', 'uses' => 'QuestionsController@showQuestion'))
->where('id',[0-9+]);
Laravel throws this exception highlighting the ->where('id',[0-9+]);
Symfony \ Component \ Debug \ Exception \ FatalErrorException
syntax error, unexpected ']'
How can all 3 (as, uses, where) work together on a single route?