for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Country\Data\Repositories;
use App\Containers\Country\Models\Country;
use App\Port\Repository\Abstracts\Repository;
/**
* Class CountryRepository.
*
* @author Mahmoud Zalt <[email protected]>
*/
class CountryRepository extends Repository
{
// cache the query result of all() (getting all countries) for 1 day <when caching is enabled>
protected $cacheMinutes = 1440; // 1 day
protected $cacheOnly = ['all'];
* @var array
protected $fieldSearchable = [
];
}