Skip to content

Proper DI #4

Description

@manuakasam

How do you feel about proper DI? We teach and preach but don't do it ourselfes? :D

The ConsoleAdapter and Config could be injected.

The case where LazyLoading is perfectly valid would be this, at least I don't see a way to change it.
https://github.com/Soflomo/Cache/blob/master/src/Soflomo/Cache/Controller/CacheController.php#L236

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions