PHP-DI 4.0 compatibility