✏️ Edit: ProductsTemplet.php
Path:
/home/thiqat5/dex.thiqatech.com/model/ProductsTemplet.php
Size: 467 B · Modified: 2021-11-03 20:28:12 · Perm: 0644 · Writable
← Back to directory
👁 View
⬇ Download
<?php namespace App\model; use Illuminate\Database\Eloquent\Model; class ProductsTemplet extends Model { protected $table = 'productsTemplets'; // protected $hidden = []; // protected $appends = ['ProdcutsComments']; // public function getProdcutsCommentsAttribute() // { // $Productcomments = Productcomment:: // where('product_Id', $this->id)-> // get(); // return $Productcomments; // } }
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF