src/Toastr.php
public function success(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::SUCCESS, $message, $title, $options);
    }
public function success(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::SUCCESS, $message, $title, $options);
    }
public function success ( string $ message , string $ title = '' , array $ options = [ ] ) : self { return $ this -> addNotification ( self :: SUCCESS , $ message , $ title , $ options ) ; }
Shortcut for adding a success notification.

@param string $message The notification's message
@param string $title   The notification's title
@param array  $options

@return Toastr
Shortcut for adding a success notification .