Php-Dependency Injection depends on the advantages and disadvantages of injection and automatic loading.

  ios, question

Recently, I saw phalcon. He used di dependency injection method, but I don’t think it is convenient to set a rule to load automatically. I don’t know what everyone thinks, and I want to know the merits and demerits of this Entre Dos.