IServiceProvider::$get can be array or function