Overtrue\LaravelWechat\CacheBridge::contains PHP 메소드

contains() 공개 메소드

Tests if an entry exists in the cache.
public contains ( string $id ) : boolean
$id string The cache id of the entry to check for.
리턴 boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.
    public function contains($id)
    {
        return Cache::has($id);
    }