This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use App\Item; | |
use App\Brand; | |
use App\Type; | |
use App\Category; | |
use Illuminate\Http\Request; | |
use App\Http\Requests\ItemRequest; | |
class ItemController extends Controller | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use App\ModelFilters\ItemFilter; | |
use Illuminate\Database\Eloquent\Model; | |
use App\Traits\UploadTrait; | |
use EloquentFilter\Filterable; | |
class Item extends Model | |
{ | |
use UploadTrait, Filterable; | |
public function modelFilter() |