Do not use custom alias, use the class directly.

This commit is contained in:
Pol Dellaiera
2021-07-23 12:03:29 +02:00
parent e7721ec172
commit 081c14a153
@@ -1,9 +1,8 @@
services:
# Register loophp/psr17/Psr17 class and autowire/autoconfigure it.
loophp.psr17.psr17:
class: loophp\psr17\Psr17
loophp\psr17\Psr17:
autowire: true
autoconfigure: true
# Alias the service to the Psr17 interface.
loophp\psr17\Psr17Interface: '@loophp.psr17.psr17'
loophp\psr17\Psr17Interface: '@loophp\psr17\Psr17'