Skip to content
Discussion options

You must be logged in to vote

Yes, if your Slugify "service" is stable and does not make any external calls or side effects, there is no need to abstract it or inject it via dependency injection. Simply require it and use it as-is.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@benjibenoit
Comment options

Comment options

You must be logged in to vote
2 replies
@benjibenoit
Comment options

@RomainLanz
Comment options

Answer selected by benjibenoit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants