-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplificando o participante Shopping\Cart #4
Comments
👍 |
2 similar comments
👍 |
👍 |
Gosto disso. O participante O único problema que vejo, é o |
Concordo plenamente @netojoaobatista! |
O participante
Shopping\Cart
está gerenciando tanto os produtos quanto as quantidades dos produtos, acredito que isso poderia ser simplificado com a adição de um outro participante, oShopping\CartItem
:O uso dele seria apenas pelo
Shopping\Cart
, desta forma (apenas com os métodos referentes à esta proposta):The text was updated successfully, but these errors were encountered: