• @Lmaydev
    link
    34 months ago

    Dependency injection is the actual act of allowing dependencies to be injected. Which this does.

    Creating a constructor that takes dependencies is DI.

    Using something to inject them automatically is more inversion of control.