33[ ![ License] ( https://poser.pugx.org/php-tmdb/api/license.png )] ( https://packagist.org/packages/php-tmdb/api )
44[ ![ Build Status] ( https://travis-ci.org/php-tmdb/api.svg?branch=2.1 )] ( https://travis-ci.org/php-tmdb/api )
55[ ![ Code Coverage] ( https://scrutinizer-ci.com/g/php-tmdb/api/badges/coverage.png?b=2.1 )] ( https://scrutinizer-ci.com/g/php-tmdb/api/?branch=2.1 )
6- [ ![ HHVM Status ] ( http ://hhvm.h4cc.de /badge/php-tmdb/api .svg)] ( http://hhvm.h4cc.de/package/php-tmdb/api )
6+ [ ![ PHP & HHVM ] ( https ://img.shields.io /badge/php->=5.6,%20HHVM-8892BF .svg)] ( http://hhvm.h4cc.de/package/php-tmdb/api )
77
88Inspired by [ php-github-api] ( https://github.com/KnpLabs/php-github-api ) , [ php-gitlab-api] ( https://github.com/m4tthumphrey/php-gitlab-api/ ) and the Symfony Community.
99
@@ -86,7 +86,7 @@ Include Composer's autoloader:
8686require_once dirname(__DIR__).'/vendor/autoload.php';
8787```
8888
89- To use the examples provided, copy the ` apikey.php.dist ` to ` apikey.php ` and change the settings.
89+ To use the examples provided, copy the ` apikey.php.dist ` to ` apikey.php ` and change the settings.
9090
9191## Constructing the Client
9292
@@ -106,7 +106,7 @@ $client = new \Tmdb\Client($token, ['secure' => false]);
106106Caching is enabled by default, and uses a slow filesystem handler, which you can either:
107107
108108 - Replace the ` path ` of the storage of, by supplying the option in the client:
109-
109+
110110``` php
111111$client = new \Tmdb\Client($token, [
112112 'cache' => [
@@ -115,7 +115,7 @@ $client = new \Tmdb\Client($token, [
115115]);
116116```
117117 - Or replace the whole implementation with another CacheStorage of Doctrine:
118-
118+
119119``` php
120120use Doctrine\Common\Cache\ArrayCache;
121121
0 commit comments