src/AdminLTE/Layout/Controller/ModalComponent.php
public function error($message = '', $title = '')
    {
        $this->dataCollection->add('message', $message);
        $this->dataCollection->add('title',   $title);

        return $this->render('Error');
    }
public function error($message = '', $title = '')
    {
        $this->dataCollection->add('message', $message);
        $this->dataCollection->add('title',   $title);

        return $this->render('Error');
    }
public function error ( $ message = '' , $ title = '' ) { $ this -> dataCollection -> add ( 'message' , $ message ) ; $ this -> dataCollection -> add ( 'title' , $ title ) ; return $ this -> render ( 'Error' ) ; }
Modal error component

@param  string $message
@param  string $title
@return string
Modal error component