Skip to content

Commit

Permalink
Merge branch '2.5-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jun 29, 2018
2 parents 3e20970 + 41151c5 commit 77221b1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/Core/Repository/Aggregate/Repository.php
Expand Up @@ -88,6 +88,15 @@ public function getBookmarkService()
return $this->ezRepository->getBookmarkService();
}

public function getNotificationService()
{
if (!method_exists($this->ezRepository, 'getNotificationService')) {
throw new RuntimeException(sprintf('getNotificationService method does not exist in %s class', get_class($this->ezRepository)));
}

return $this->ezRepository->getNotificationService();
}

public function getContentService()
{
return $this->ezRepository->getContentService();
Expand Down

0 comments on commit 77221b1

Please sign in to comment.