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