What are traits?

what are traits and explain with an example behavior.

Train Asked on December 8, 2015 in PHP.
Add Comment
  • 1 Answer(s)

    Traits are individual objects like classes, but traits can not be called directly except within a class.


    Train Answered on December 10, 2015.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.