--

I like the approach theoretically, but it’s c̶o̶n̶s̶i̶d̶e̶r̶e̶d̶ ̶b̶a̶d̶ ̶p̶r̶a̶c̶t̶i̶c̶e̶. discussed differently anywhere you read about services in domain entities.

I would also struggle to implement this in a popular framework like Symfony.

Any full examples on GitHub maybe how this could work with auto-wiring without passing the service instance through every class down to where I really would use it?

What about tests?

--

--

Wolfgang Klinger
Wolfgang Klinger

Written by Wolfgang Klinger

Programmer, Photographer, Gardener

Responses (1)