Fenos\Notifynder\Notifications\NotificationManager::find PHP Метод

find() публичный Метод

Find a notification by ID.
public find ( $notificationId ) : Notification | Model | static
$notificationId
Результат Fenos\Notifynder\Models\Notification | Illuminate\Database\Eloquent\Model | static
    public function find($notificationId)
    {
        $notification = $this->notifynderRepo->find($notificationId);
        if (is_null($notification)) {
            $error = 'Notification Not found';
            throw new NotificationNotFoundException($error);
        }
        return $notification;
    }