for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PWWEB\Localisation\Repositories;
use PWWEB\Core\Repositories\BaseRepository;
use PWWEB\Localisation\Models\Currency;
/**
* PWWEB\Localisation\Repositories\CurrencyRepository CurrencyRepository.
*
* The repository for Currency.
* Class CurrencyRepository
* @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 CurrencyRepository extends BaseRepository
{
* Fields that can be searched by.
* @var array
protected $fieldSearchable = [
'name',
'iso',
'numeric_code',
'entity_code',
'active',
'standard',
];
* Return searchable fields.
* @return array
public function getFieldsSearchable()
return $this->fieldSearchable;
}
* Configure the Model.
* @return string
**/
public function model()
return config('pwweb.localisation.models.currency');