Fenos\Notifynder\Contracts\NotificationDB::countNotRead PHP Method

countNotRead() public method

get number Notifications not read.
public countNotRead ( $toId, $entity, Closur\Closure $filterScope = null ) : mixed
$toId
$entity
$filterScope Closur\Closure
return mixed
    public function countNotRead($toId, $entity, Closure $filterScope = null);

Usage Example

 /**
  * Get number of notification
  * not read
  *
  * @param         $to_id
  * @param Closure $filterScope
  * @return mixed
  */
 public function countNotRead($to_id, Closure $filterScope = null)
 {
     return $this->notifynderRepo->countNotRead($to_id, $this->entity);
 }
All Usage Examples Of Fenos\Notifynder\Contracts\NotificationDB::countNotRead