first
This commit is contained in:
commit
5aa7d034f7
3292 changed files with 465160 additions and 0 deletions
24
data/web/inc/lib/vendor/illuminate/contracts/Notifications/Dispatcher.php
vendored
Executable file
24
data/web/inc/lib/vendor/illuminate/contracts/Notifications/Dispatcher.php
vendored
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Notifications;
|
||||
|
||||
interface Dispatcher
|
||||
{
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
32
data/web/inc/lib/vendor/illuminate/contracts/Notifications/Factory.php
vendored
Executable file
32
data/web/inc/lib/vendor/illuminate/contracts/Notifications/Factory.php
vendored
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Notifications;
|
||||
|
||||
interface Factory
|
||||
{
|
||||
/**
|
||||
* Get a channel instance by name.
|
||||
*
|
||||
* @param string|null $name
|
||||
* @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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue