/**
  * Register the application services.
  *
  * @return void
  */
 public function register()
 {
     parent::register();
     $this->app->singleton('form', function ($app) {
         $form = new Macros($app['html'], $app['url'], $app['view'], $app['session.store']->getToken());
         return $form->setSessionStore($app['session.store']);
     });
 }
 /**
  * Set the session store implementation.
  *
  * @param \Illuminate\Session\SessionInterface $session
  * @return $this 
  * @static 
  */
 public static function setSessionStore($session)
 {
     //Method inherited from \Collective\Html\FormBuilder
     return \App\Services\Macros\Macros::setSessionStore($session);
 }