Get the session store implementation.
public getSessionStore ( ) : Illuminate\Session\SessionInterface | ||
return | Illuminate\Session\SessionInterface | $session |
/** * Get the MessageBag of errors that is populated by the * validator. * * @return \Illuminate\Support\ViewErrorBag */ protected function getErrors() { $errors = $this->form->getSessionStore()->get('errors'); if ($errors) { return $errors->getBag($this->errorBag); } return $errors; }
/** * Get the session store implementation. * * @return \Illuminate\Session\Store $session * @static */ public static function getSessionStore() { return \Collective\Html\FormBuilder::getSessionStore(); }
/** * Get the MessageBag of errors that is populated by the * validator. * * @return \Illuminate\Support\MessageBag */ protected function getErrors() { return $this->form->getSessionStore()->get('errors'); }