pingpong-labs / admin

Laravel 5 Admin
https://packagist.org/packages/pingpong/admin
BSD 3-Clause "New" or "Revised" License
433 stars 114 forks source link

User cannot implement Pingpong\Admin\Entities\User - it is not an interface #12

Closed alexandrehumeau closed 9 years ago

alexandrehumeau commented 9 years ago

Hello,

I followed your instructions. I have a clean install of Laravel 4. After login I have this error : User cannot implement Pingpong\Admin\Entities\User - it is not an interface.

Do you know what's wrong ?

Thanks a lot, capture d ecran 2014-10-31 a 16 04 34

Alex

gravitano commented 9 years ago

Don't use as interface, but extends as a class. For example :

use Pingpong\Admin\Entities\User as PingpongUser;

class User extends PingpongUser {}