Angejia\Pea\RedisCache::del PHP 메소드

del() 공개 메소드

public del ( $keys )
    public function del($keys)
    {
        return $this->redis->del($keys);
    }

Usage Example

예제 #1
0
파일: CacheTest.php 프로젝트: angejia/pea
 public function testDel()
 {
     $redis = M::mock(Redis::class);
     $redis->shouldReceive('del')->with(['a', 'b']);
     $cache = new RedisCache($redis);
     $cache->del(['a', 'b']);
 }