Skip to content

Commit

Permalink
Add DefaultValueResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Dec 16, 2016
1 parent 386b701 commit b99e355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Interop\Container\ContainerInterface;
use Invoker\CallableResolver;
use Invoker\ParameterResolver\AssociativeArrayResolver;
use Invoker\ParameterResolver\DefaultValueResolver;
use Invoker\ParameterResolver\Container\TypeHintContainerResolver;
use Invoker\ParameterResolver\ResolverChain;

Expand Down Expand Up @@ -77,6 +78,7 @@ public function __construct(ContainerBuilder $containerBuilder = null, array $va
new ResolverChain([
new AssociativeArrayResolver,
new TypeHintContainerResolver($this->containerInteropProxy),
new DefaultValueResolver,
])
);
});
Expand Down

0 comments on commit b99e355

Please sign in to comment.