Issue #2110643 by amateescu, dawehner: ControllerBase::container() and FormBase::container() needs to be private.