Skip to content

Commit

Permalink
Add SlackMessage::info (#23711)
Browse files Browse the repository at this point in the history
I know it defaults to `info` but it's useful to be explicit about it in some cases.
  • Loading branch information
Mechazawa authored and taylorotwell committed Mar 27, 2018
1 parent 990f256 commit ce879dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Illuminate/Notifications/Messages/SlackMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ class SlackMessage
*/
public $http = [];

/**
* Indicate that the notification gives information about an operation.
*
* @return $this
*/
public function info()
{
$this->level = 'info';

return $this;
}

/**
* Indicate that the notification gives information about a successful operation.
*
Expand Down

0 comments on commit ce879dd

Please sign in to comment.