w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • PHP
  • Laravel
  • Notifications
  • Messages

SimpleMessage

SimpleMessage

class SimpleMessage (View source)

Properties

string $level The "level" of the notification (info, success, error).
string $subject The subject of the notification.
string|null $greeting The notification's greeting.
array $introLines The "intro" lines of the notification.
array $outroLines The "outro" lines of the notification.
string $actionText The text / label for the action.
string $actionUrl The action URL.
Links:
  • https://laravel.com/api/5.3/Illuminate/Notifications/Messages/SimpleMessage.html
doc_Laravel
doc_Laravel
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
SimpleMessage::with() $this with(Action|string|array $line) Add a line of text to the notification. Parameters Action|string|array $line Return Value $
SimpleMessage::level() $this level(string $level) Set the "level" of the notification (success, error, etc.). Parameters string $level Return Value $this
SimpleMessage::subject() $this subject(string $subject) Set the subject of the notification. Parameters string $subject Return Value $this
SimpleMessage::error() $this error() Indicate that the notification gives information about an error. Return Value $this
SimpleMessage::action() $this action(string $text, string $url) Configure the "call to action" button. Parameters string $text string $url Return Value $


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions