public static function buscar($item_id)
 {
     return Portfolio::where('item_id', $item_id)->first();
 }
Exemple #2
0
 public function portfolio()
 {
     return Portfolio::where('item_id', $this->id)->first();
 }