phpvms/app/Repositories/NavdataRepository.php
2018-02-20 22:33:09 -06:00

21 lines
454 B
PHP

<?php
namespace App\Repositories;
use App\Models\Navdata;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
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;
}
}