/**
  * Call a custom driver creator.
  *
  * @param  string  $driver
  * @return \Auth\Guard
  */
 protected function callCustomCreator($driver)
 {
     $custom = parent::callCustomCreator($driver);
     if ($custom instanceof Guard) {
         return $custom;
     }
     return new Guard($custom, $this->app['session.store']);
 }
 /**
  * Call a custom driver creator.
  *
  * @param  string  $driver
  * @return mixed
  */
 protected function callCustomCreator($driver)
 {
     return $this->buildSession(parent::callCustomCreator($driver));
 }