Skip to content

Commit 7b465d0

Browse files
committed
Merge pull request #64 from wtfzdotnet/2.0-BETA-options-resolver
Implementing the OptionsResolver component
2 parents 07d4479 + ab9cf02 commit 7b465d0

13 files changed

Lines changed: 610 additions & 359 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"php": ">=5.4.0",
1717
"ext-curl": "*",
1818
"symfony/event-dispatcher": "~2.5",
19+
"symfony/options-resolver": "~2.6",
1920
"guzzlehttp/guzzle": "~5.0",
2021
"guzzlehttp/cache-subscriber": "0.1.*@dev",
2122
"guzzlehttp/log-subscriber": "~1.0",

examples/caching.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// 'cache' => ['enabled' => false]
2323
//]);
2424

25-
$client = new \Tmdb\Client($token, null, true, [
25+
$client = new \Tmdb\Client($token, [
2626
'cache' => [
2727
'enabled' => true,
2828
'storage' => new \GuzzleHttp\Subscriber\Cache\CacheStorage(

examples/logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727

2828
// If you'd like to know what's going on during development, something like this could prove handy.
29-
$client = new \Tmdb\Client($token, null, true, [
29+
$client = new \Tmdb\Client($token, [
3030
'log' => [
3131
'enabled' => true,
3232
'handler' => new \Monolog\Handler\ChromePHPHandler() // chrome php extension

0 commit comments

Comments
 (0)