public function register(Container $app) { $app['authbucket_oauth2.tests.default_controller'] = function () { return new DefaultController(); }; $app['authbucket_oauth2.tests.demo_controller'] = function () { return new DemoController(); }; }