for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PWWEB\Localisation\Repositories\Tax;
use PWWEB\Core\Repositories\BaseRepository;
use PWWEB\Localisation\Models\Tax\Rate;
/**
* PWWEB\Localisation\Repositories\Tax\RateRepository RateRepository.
*
* The repository for Rate.
* Class RateRepository
* @author Frank Pillukeit <[email protected]>
* @author Richard Browne <[email protected]
* @copyright 2020 pw-websolutions.com
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
class RateRepository extends BaseRepository
{
* Fields that can be searched by.
* @var array
protected $fieldSearchable = [
'rate',
'name',
'compound',
'shipping',
'type',
];
* Return searchable fields.
* @return array
public function getFieldsSearchable()
return $this->fieldSearchable;
}
* Configure the Model.
* @return \PWWEB\Localisation\Models\Tax\Rate
**/
public function model()
return config('pwweb.localisation.models.tax.rate');