---
title: "Comment by Ola Duda on \"The Difference Between Service Classes and Traits in PHP\" | Hashnode"
description: "Hi! Where are exactly described those differences between service and trait solution in this article? I mean - what are pros and cons using each of these and in"
url: "https://hashnode.com/posts/the-difference-between-service-classes-and-traits-in-php/62423710db84f8c50fa5b33e/comment/62e11794657a4fae5a0e70bc"
---

[Discussion](https://hashnode.com/posts/the-difference-between-service-classes-and-traits-in-php/62423710db84f8c50fa5b33e)

Comment [The Difference Between Service Classes and Traits in PHP](https://hashnode.com/posts/the-difference-between-service-classes-and-traits-in-php/62423710db84f8c50fa5b33e)

[Ola Duda](https://hashnode.com/@wokalove)

[Jul 27, 2022](https://hashnode.com/posts/the-difference-between-service-classes-and-traits-in-php/62423710db84f8c50fa5b33e/comment/62e11794657a4fae5a0e70bc)

Hi! Where are exactly described those differences between service and trait solution in this article? I mean - what are pros and cons using each of these and in which cases should be used.
