public function set($options = [
        'icon' => null,
        'title' => null,
        'message' => '',
        'url' => null,
        'target' => null
    ], $settings = []){
        $settings = Arr::merge($this->settings, $settings);
        $this->session->flash('notify.options', $options);
        $this->session->flash('notify.settings', $settings);
        $this->hook->put('__app.notify.options', $options);
        $this->hook->put('__app.notify.settings', $settings);
        return $this;
    }
public function set($options = [
        'icon' => null,
        'title' => null,
        'message' => '',
        'url' => null,
        'target' => null
    ], $settings = []){
        $settings = Arr::merge($this->settings, $settings);
        $this->session->flash('notify.options', $options);
        $this->session->flash('notify.settings', $settings);
        $this->hook->put('__app.notify.options', $options);
        $this->hook->put('__app.notify.settings', $settings);
        return $this;
    }
public function set ( $ options = [ 'icon' => null , 'title' => null , 'message' => '' , 'url' => null , 'target' => null ] , $ settings = [ ] ) { $ settings = Arr :: merge ( $ this -> settings , $ settings ) ; $ this -> session -> flash ( 'notify.options' , $ options ) ; $ this -> session -> flash ( 'notify.settings' , $ settings ) ; $ this -> hook -> put ( '__app.notify.options' , $ options ) ; $ this -> hook -> put ( '__app.notify.settings' , $ settings ) ; return $ this ; }
Set the flash element

@param $options
@param $settings
@return $this
Set the flash element