Challenge: Interfaces
Write a class and make it implement multiple interfaces along with inheritance.
We'll cover the following...
We'll cover the following...
Task
- Create a
Userclass with a protected$usernameproperty and methods that can set and get the$username. - Create an
Authorinterface with two abstract methods that can give the user an array of authorship privileges. The first method issetAuthorPrivileges()with the parameter$array, and