mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
14 lines
197 B
PHP
14 lines
197 B
PHP
<?php
|
|
|
|
namespace App\Concerns;
|
|
|
|
use Illuminate\Support\Env;
|
|
|
|
trait ScraperCacheTtl
|
|
{
|
|
public static function cacheTtl(): int
|
|
{
|
|
return (int) Env::get('CACHE_DEFAULT_EXPIRE');
|
|
}
|
|
}
|