Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastโ€”the ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsโ€”embodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.๐ŸŒŒ SpectraShell

๐ŸŒŒ SpectraShell

Current path: home/u461622454/domains/wordfairy.ai/public_html/app/Notifications/



โœ… Cloned to:


โฌ†๏ธ Go up: /home/u461622454/domains/wordfairy.ai/public_html/app

๐Ÿ“„ Viewing: GeneralNotification.php

<?php

namespace App\Notifications;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Auth;

class GeneralNotification extends Notification
{
    use Queueable;

    private $notification;

    /**
     * Create a new notification instance.
     *
     * @return void
     */
    public function __construct($notification)
    {
        $this->notification = $notification;
    }

    /**
     * Get the notification's delivery channels.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return ['database'];
    }

    /**
     * Get the array representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toDatabase($notifiable)
    {
        return [
            'sender' => Auth::user()->name,
            'subject' => $this->notification['subject'],
            'message' =>  $this->notification['message'],
            'type' => $this->notification['type'],
            'action' => $this->notification['action']
        ];
    }
}


๐Ÿ“

Page Not Found

404

Ooops! Looks like it is not here

Keep searching and you will find it one day, we all do!

Back to Main Page