master

laravel/framework

Last updated at: 29/12/2023 09:21

CacheAware.php

TLDR

This file defines an interface called CacheAware in the Illuminate\Console\Scheduling namespace. The interface has one method called useStore which specifies the cache store to be used.

Methods

useStore($store)

This method sets the cache store to be used by the implementing class.

END

<?php

namespace Illuminate\Console\Scheduling;

interface CacheAware
{
    /**
     * Specify the cache store that should be used.
     *
     * @param  string  $store
     * @return $this
     */
    public function useStore($store);
}