I have a product model and an attribute model.
Products have attributes.
The problem is that I cannot use Attributes as a member of the Product class, which extends eloquence, as eloquent it already uses. Is there any way around this?
class Product extends Model
{
protected $attributes;
}
source
share