[ticket/11497] With parameters for DI calls

PHPBB3-11497