DI\Compiler::getExtensions($type) returns extensions filtered by type