You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just published the package and got the error as below
' Interface 'Ghanem\Rating\Contracts\Rating' not found '
My model is as below.
namespaceApp;
useIlluminate\Database\Eloquent\Model;
useCviebrock\EloquentSluggable\SluggableInterface;
useCviebrock\EloquentSluggable\SluggableTrait;
useGhanem\Rating\Contracts\Rating;
useGhanem\Rating\Traits\RatingableasRatingTrait;
class Business extends Model implements SluggableInterface, Rating
{
//use RatingTrait;
use SluggableTrait;
}
I have tried to remove the SluggableInterface but still the same error. I am not sure if i missed out anything but any pointers will be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered:
namespace App;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\SluggableInterface;
use Cviebrock\EloquentSluggable\SluggableTrait;
use Ghanem\Rating\Contracts\Ratingable;
use Ghanem\Rating\Traits\Ratingable as RatingTrait;
class Business extends Model implements SluggableInterface, Rating
{
//
use RatingTrait;
use SluggableTrait;
}
Just published the package and got the error as below
' Interface 'Ghanem\Rating\Contracts\Rating' not found '
My model is as below.
I have tried to remove the SluggableInterface but still the same error. I am not sure if i missed out anything but any pointers will be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: