Exemplo n.º 1
0
 protected function registerFormBuilder()
 {
     $this->app['adamwathan.form'] = $this->app->share(function ($app) {
         $formBuilder = new FormBuilder();
         $formBuilder->setErrorStore($app['adamwathan.form.errorstore']);
         $formBuilder->setOldInputProvider($app['adamwathan.form.oldinput']);
         $formBuilder->setToken($app['session.store']->getToken());
         return $formBuilder;
     });
 }
 public function getValueFor($name)
 {
     return parent::getValueFor($name);
 }