...

/

Challenge: Static Methods & Properties and Traits

Challenge: Static Methods & Properties and Traits

Create an interface and traits, and then use them in child classes.

We'll cover the following...

Task

  • Write an interface named User.
  • Write a trait named Writing that contains an abstract method writeContent().
  • Add the Author, Commentator, and Viewer
...