Closed SamuelNitsche closed 5 years ago
In laravel 5.8 the cache duration has been changed to use seconds instead of minutes. Head over to https://laravel.com/docs/5.8/upgrade#cache-ttl-in-seconds for more information.
Nice! I didn't realise you can pass a DateTime in there, that makes it easy to support 5.8 and older. Thanks! 😄
DateTime
In laravel 5.8 the cache duration has been changed to use seconds instead of minutes. Head over to https://laravel.com/docs/5.8/upgrade#cache-ttl-in-seconds for more information.