NotificationService
in package
Table of Contents
Properties
- $config : Config
- $notificationRepository : NotificationRepository
- $request : Request
Methods
- __construct() : mixed
- NotificationService constructor.
- getNotifications() : array<string|int, mixed>
Properties
$config
private
Config
$config
$notificationRepository
private
NotificationRepository
$notificationRepository
$request
private
Request
$request
Methods
__construct()
NotificationService constructor.
public
__construct(Request $request, NotificationRepository $notificationRepository, Config $config) : mixed
Parameters
- $request : Request
- $notificationRepository : NotificationRepository
- $config : Config
getNotifications()
public
getNotifications(int $userId) : array<string|int, mixed>
Parameters
- $userId : int