Expose the AbstractController's container to its subclasses
Expose the AbstractController's container to its subclasses

Useful if an application provides their own base Controller that
references items in the container. It also makes it simpler for that
base controller to add additional optional dependencies by only overriding
getSubscribedServices instead of having to reimplement setContainer and
use ControllerTrait.

symfony/framework-bundle