ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/bharath/3idiotsgadgetstore.in/app/Model/
Upload File :
Current File : //proc/self/root/home2/selectio/www/bharath/3idiotsgadgetstore.in/app/Model/Tag.php

<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Tag extends Model
{
    use HasFactory;

    protected $fillable = ['tag'];

    public function items()
    {
        return $this->belongsToMany(Product::class)->using(ProductTag::class);
    }
}

Zerion Mini Shell 1.0