PHP Designing Interfaces in PHP Using Interfaces Extending a Collection

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 65,515 Points

Have I got these interfaces right?

The reason I ask is initially I didn't have these interface files created.

TrackableInterface.php
<?php 

interface TrackableInterface {

}
ShareableInterface.php
<?php 

interface ShareableInterface {

}

But I'm following along from Workspaces for this project. I got the feeling that the preceding code challenge was going to ask us to create the interfaces ourselves (and then we add them to the project).

But the code challenge was an entirely different example.

I followed this video and then realised I didn't have the 2 new interfaces set up. I added the above ones myself later on and the site seems to work. Is there anything I'm missing? :)

Thanks