doctrine extensions dependency