From 7d8494627fa13e95a5308b3756dcbf79216ff0ed Mon Sep 17 00:00:00 2001 From: Michael Roterman Date: Sun, 9 Feb 2014 01:40:57 +0100 Subject: [PATCH] Expand docs a very tiny bit --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index bfa48e53..d4bd9474 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,13 @@ echo $movie->getTitle(); __The repositories also contain the other API methods that are available through the API namespace.__ +```php +$repository = new \Tmdb\Repository\MovieRepository($client); +$topRated = $repository->getTopRated(array('page' => 3)); +// or +$popular = $repository->getPopular(); +``` + An `ImageHelper` class is provided to take care of the images, which does require the configuration to be loaded: ```php