[5.0] Router : add route macro

Laravel current only allows `function()` rather than `function ()` for closures.