From b19d837e5f3fcdf8740e170cf200910c78c778f1 Mon Sep 17 00:00:00 2001 From: Alex Debril Date: Fri, 9 Aug 2019 15:00:21 +0200 Subject: [PATCH] Documentation --- README.md | 10 +++++----- Resources/sample/Provider.php | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3706022..ccda36c 100644 --- a/README.md +++ b/README.md @@ -189,12 +189,12 @@ The request will be handled by `StreamController`, according to the following st You must give to RssAtomBundle the content you want it to display in the feed. For that, two steps : -- write a class that implements `FeedContentProviderInterface`. This class that we call a 'provider' will be in charge of building the feed. +- write a class that implements `FeedProviderInterface`. This class that we call a 'provider' will be in charge of building the feed. - configure the dependency injection to make RssAtomBundle use it ##### FeedContentProviderInterface implementation -Your class just needs to implement the `Debril\RssAtomBundle\Provider\FeedContentProviderInterface` interface, for instance : +Your class just needs to implement the `Debril\RssAtomBundle\Provider\FeedProviderInterface` interface, for instance : ```php setTitle('Feed Title')