We can add a base class (Collection_Base) as well, but interfaces should be used to represent interfaces. Means we separate the implementation from the interface.

On Wed, May 7, 2014 at 10:52 AM, Daniel Bachhuber
<notifications@github.com> wrote:

>> @@ -0,0 +1,68 @@
>> +<?php
>> +
>> +/**
>> + * User entity object
>> + *
>> + * @package WordPress API Client
>> + * @subpackage Entities
>> + */
>> +class WPAPI_User {
> Ok. And is there a reason you went with interface over abstract class for collections? I think the former will lead to a bunch of duplicate code
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/WP-API/client-php/pull/2/files#r12357765