Skip to content

Commit

Permalink
add methods to contract
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 29, 2016
1 parent b1299d1 commit 0066b5d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Illuminate/Contracts/Notifications/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,22 @@ interface Factory
* @return mixed
*/
public function channel($name = null);

/**
* Send the given notification to the given notifiable entities.
*
* @param \Illuminate\Support\Collection|array|mixed $notifiables
* @param mixed $notification
* @return void
*/
public function send($notifiables, $notification);

/**
* Send the given notification immediately.
*
* @param \Illuminate\Support\Collection|array|mixed $notifiables
* @param mixed $notification
* @return void
*/
public function sendNow($notifiables, $notification);
}

0 comments on commit 0066b5d

Please sign in to comment.