Releases: PHP-DI/Invoker
Releases · PHP-DI/Invoker
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
0.2.1
0.2.0
0.x versions do not ensure backward compatibility.
This release features mainly a new resolver ParameterNameContainerResolver
. This resolver will inject container entries by searching for the name of the parameter:
$invoker->call(function ($twig) {
// ...
});
In this example it will ->get('twig')
from the container and inject it.
Breaking changes:
- renamed
AssociativeArrayParameterResolver
toAssociativeArrayResolver
- renamed
DefaultValueParameterResolver
toDefaultValueResolver
- renamed
NumericArrayParameterResolver
toNumericArrayResolver
- renamed
ParameterResolverChain
toResolverChain
- renamed
ResolverChain::unshiftResolver()
toprependResolver()
andpushResolver()
toappendResolver()
- moved and renamed
ContainerParameterResolver
toContainer\TypeHintContainerResolver