Rename services to use class names as service IDs

Created on 20 July 2025, 2 days ago

Problem/Motivation

I have grown to like the "class name as service ID" pattern that is now starting to be used in core, as it allows doing $foo = $container->get(Foo::class) and PhpStorm will helpfully know that $foo instanceof Foo, even if you do not have the proper PhpStorm metadata set up.

Proposed resolution

Let's rename all the services with BC for the old names.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024