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