Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot implement Ghanem\Rating\Traits\Ratingable - it is not an interface #17

Open
Rejiz opened this issue May 23, 2017 · 6 comments
Open

Comments

@Rejiz
Copy link

Rejiz commented May 23, 2017

Need some help in my model!
http://prntscr.com/fb9aha

@ghost
Copy link

ghost commented Jun 13, 2017

Hi @Rejiz!

Code of your model ?

@joelstahre
Copy link

any updates on this?
i have the same issue

@joelstahre
Copy link

joelstahre commented Jul 24, 2017

i solved it.

namespace App;

use Ghanem\Rating\Traits\Ratingable as RatingTrait;
use Illuminate\Database\Eloquent\Model;

class Wallet extends Model
{
    use RatingTrait;

this is what i had to do, im using Laravel 5.4

@a-mikalauskas
Copy link

@joelstahre it worked for me!

@RaisYousaf
Copy link

can anyone give me the video tutorial to make 5 star rating system

@ekasur
Copy link

ekasur commented Mar 23, 2018

@joelstahre its works.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants