PHP 8.3.31
Preview: RoutesNotifications.php Size: 1.27 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Notifications/RoutesNotifications.php

<?php

namespace Illuminate\Notifications;

use Illuminate\Contracts\Notifications\Dispatcher;
use Illuminate\Support\Str;

trait RoutesNotifications
{
    /**
     * Send the given notification.
     *
     * @param  mixed  $instance
     * @return void
     */
    public function notify($instance)
    {
        app(Dispatcher::class)->send($this, $instance);
    }

    /**
     * Send the given notification immediately.
     *
     * @param  mixed  $instance
     * @param  array|null  $channels
     * @return void
     */
    public function notifyNow($instance, ?array $channels = null)
    {
        app(Dispatcher::class)->sendNow($this, $instance, $channels);
    }

    /**
     * Get the notification routing information for the given driver.
     *
     * @param  string  $driver
     * @param  \Illuminate\Notifications\Notification|null  $notification
     * @return mixed
     */
    public function routeNotificationFor($driver, $notification = null)
    {
        if (method_exists($this, $method = 'routeNotificationFor'.Str::studly($driver))) {
            return $this->{$method}($notification);
        }

        return match ($driver) {
            'database' => $this->notifications(),
            'mail' => $this->email,
            default => null,
        };
    }
}

Directory Contents

Dirs: 5 × Files: 14

Name Size Perms Modified Actions
Channels DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Console DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Events DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Messages DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
resources DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
479 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.60 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
3.87 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.19 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
664 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
809 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
120 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
768 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
7.69 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.10 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.27 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
4.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).