当一个类可以有多个定义时,如何在symfony 4中声明服务

So basically, if you want to upgrade to symfony 4 you can no longer have services declared like:

services:
    some.service:
        class: AppBundle\SomeService
        ...

You must change that to:

services:
    AppBundle\SomeService:
        ...

But what happens when you have multiple definitions for the same class? For example:

services:
    some.service1:
        class: AppBundle\SomeService
        ...
    some.service2:
        class: AppBundle\SomeService
        ...
    some.service3:
        class: AppBundle\SomeService
        ...

They all use the same class called SomeService, but they have different configurations, so depending on your need you can call either some.service1, some.service2 or some.service3. Now, how will that services.yml file be changed to respect symfony 4 standards? Because if you do something like:

services:
    AppBundle\SomeService:
        ...
    AppBundle\SomeService:
        ...
    AppBundle\SomeService:
        ...

It will just override your previous declarations and only keep the last one.

Any solution?