When you use Laravel's Cache class or facade, you also define a ttl, or time-to-live, that determines how long that item will remain cached for. You may have used a plain integer for this in the past. I'd like to show you a far better approach that will make your code easier to read and maintain.
تماشای این درس نیاز به اشتراک حرفهای دارد.
با هزینهای اندک به این قسمت و صدها ساعت محتوای آموزشی از توسعهدهندگان برتر حوزه لاراول دسترسی پیدا میکنید.
“Laracasts در یک ماه بیشتر از دو سال دانشگاه به من آموخت؛ واقعاً ضروری است.
