del() 공개 메소드

public del ( $keys )
예제 #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']);
 }