/** * Register the form builder instance. * * @return void */ protected function registerFormBuilder() { $this->app->bindShared('form', function ($app) { $form = new FormBuilderCollective($app['html'], $app['url'], $app['session.store']->getToken()); return $form->setSessionStore($app['session.store']); }); }
/** * Checks if macro is registered. * * @param string $name * @return bool * @static */ public static function hasMacro($name) { //Method inherited from \Collective\Html\FormBuilder return \App\Services\FormBuilderCollective::hasMacro($name); }