phpvms/app/Repositories/NavdataRepository.php
2018-02-01 16:46:37 -06:00

21 lines
455 B
PHP

<?php
namespace App\Repositories;
use App\Models\Navdata;
use \Prettus\Repository\Traits\CacheableRepository;
use Prettus\Repository\Contracts\CacheableInterface;
class NavdataRepository extends BaseRepository implements CacheableInterface
{
use CacheableRepository;
// Super short lived cache for when the navdata stuff is re-imported
protected $cacheMinutes = 5;
public function model()
{
return Navdata::class;
}
}