/** * Check the request and reject callback for array sessions. * * @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function checkRequestForArraySessions(Request $request) { if (is_null($this->reject)) { return; } if (call_user_func($this->reject, $request)) { $this->manager->setDefaultDriver('array'); } }
/** * Set the default session driver name. * * @param string $name * @return void * @static */ public static function setDefaultDriver($name) { \Illuminate\Session\SessionManager::setDefaultDriver($name); }