protected function registerFormBuilder() { $this->app->singleton('form', function ($app) { $form = new Form($app['html'], $app['url'], $app['view'], $app['session.store']->getToken()); return $form->setSessionStore($app['session.store']); }); }