getSessionStore() public method

Get the session store implementation.
public getSessionStore ( ) : Illuminate\Session\SessionInterface
return Illuminate\Session\SessionInterface $session
Exemplo n.º 1
0
 /**
  * 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;
 }
Exemplo n.º 2
0
 /**
  * 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');
 }