public function overlay($message = null, $title = '')
    {
        if (!$message) {
            return $this->updateLastMessage(['title' => $title, 'overlay' => TRUE]);
        }

        return $this->message(
            new OverlayMessage(compact('title', 'message'))
        );
    }
public function overlay($message = null, $title = '')
    {
        if (!$message) {
            return $this->updateLastMessage(['title' => $title, 'overlay' => TRUE]);
        }

        return $this->message(
            new OverlayMessage(compact('title', 'message'))
        );
    }
public function overlay ( $ message = null , $ title = '' ) { if ( ! $ message ) { return $ this -> updateLastMessage ( [ 'title' => $ title , 'overlay' => TRUE ] ) ; } return $ this -> message ( new OverlayMessage ( compact ( 'title' , 'message' ) ) ) ; }
Flash an overlay modal.

@param  string|null $message
@param  string $title

@return $this
Flash an overlay modal .