Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Notifications/Factory.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Notifications;
4
5 interface Factory
6 {
7 /**
8 * Get a channel instance by name.
9 *
10 * @param string|null $name
11 * @return mixed
12 */
13 public function channel($name = null);
14
15 /**
16 * Send the given notification to the given notifiable entities.
17 *
18 * @param \Illuminate\Support\Collection|mixed $notifiables
19 * @param mixed $notification
20 * @return void
21 */
22 public function send($notifiables, $notification);
23
24 /**
25 * Send the given notification immediately.
26 *
27 * @param \Illuminate\Support\Collection|mixed $notifiables
28 * @param mixed $notification
29 * @return void
30 */
31 public function sendNow($notifiables, $notification);
32 }