phpvms/app/Repositories/NavdataRepository.php

25 lines
515 B
PHP
Raw Normal View History

<?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Navdata;
use Prettus\Repository\Contracts\CacheableInterface;
2018-02-21 12:33:09 +08:00
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class NavdataRepository
*/
class NavdataRepository extends Repository 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;
}
}