app['form'] = $this->app->share(function($app)
{
$form = new FormBuilder($app['url'], $app['session']->getToken());
$form->setSessionStore($app['session']);
return $form;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return array('form');
}
}