src/BaseAction.php
public function addErrorFlash()
    {
        if ($this->errorMessage) {
            /* @var Session $session */
            $session = Instance::of($this->session)->get();
            $session->addFlash('error', $this->errorMessage);
        }
    }
public function addErrorFlash()
    {
        if ($this->errorMessage) {
            /* @var Session $session */
            $session = Instance::of($this->session)->get();
            $session->addFlash('error', $this->errorMessage);
        }
    }
public function addErrorFlash ( ) { if ( $ this -> errorMessage ) { /* @var Session $session */ $ session = Instance :: of ( $ this -> session ) -> get ( ) ; $ session -> addFlash ( 'error' , $ this -> errorMessage ) ; } }
Adds flash message if completed operation with error.
Adds flash message if completed operation with error .