<?php namespace Cushbu\Artwork\Repositories\Eloquent; use Cushbu\Artwork\Interfaces\ArtworkRepositoryInterface; use Litepie\Repository\Eloquent\BaseRepository; class ArtworkRepository extends BaseRepository implements ArtworkRepositoryInterface { /** * @var array */ protected $fieldSearchable = [ 'name' => 'like' ]; public function boot() { $this->pushCriteria(app('Litepie\Repository\Criteria\RequestCriteria')); } /** * Specify Model class name. * * @return string */ public function model() { return config('package.artwork.artwork.model'); } }