public getLastNotificationByCategory ( $category, $toId, $entity, Closur\Closure $filterScope = null ) : mixed | ||
$category | ||
$toId | ||
$entity | ||
$filterScope | Closur\Closure | |
return | mixed |
public function getLastNotificationByCategory($category, $toId, $entity, Closure $filterScope = null);
/** * Get last notification of the * given entity of the specific category * * @param $category * @param $to_id * @param Closure $filterScope * @return mixed */ public function getLastNotificationByCategory($category, $to_id, Closure $filterScope = null) { return $this->notifynderRepo->getLastNotificationByCategory($category, $to_id, $this->entity, $filterScope); }