Blame view

public/vendor/illuminate/contracts/Notifications/Factory.php 770 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
  }