/**
  * REST GET list
  *
  * @QueryParam(
  *      name="offset",
  *      requirements="\d+",
  *      nullable=true,
  *      description="Starting from"
  * )
  * @QueryParam(
  *      name="limit",
  *      requirements="\d+",
  *      nullable=true,
  *      description="Number of items"
  * )
  * @ApiDoc(
  *      description="Get all notifications",
  *      resource=true
  * )
  *
  * @param ParamFetcherInterface $paramFetcher param fetcher service
  *
  * @return Response
  */
 public function getAllAction(ParamFetcherInterface $paramFetcher)
 {
     $offset = $paramFetcher->get('offset');
     $start = null == $offset ? 0 : $offset + 1;
     $limit = $paramFetcher->get('limit');
     $notifications = $this->notificationProvider->getAll($start, $limit);
     return new NotificationCollection($notifications, $offset, $limit);
 }