protected function getEnvironmentSetUp($app) { $app['router']->get('category/{slug}', ['as' => 'category', 'uses' => function () { return 'hello world'; }]); }