Collective\Html\FormBuilder::getSessionStore PHP Метод

getSessionStore() публичный Метод

Get the session store implementation.
public getSessionStore ( ) : Illuminate\Session\SessionInterface
Результат Illuminate\Session\SessionInterface $session
    public function getSessionStore()
    {
        return $this->session;
    }

Usage Example

Пример #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;
 }
All Usage Examples Of Collective\Html\FormBuilder::getSessionStore