scan() 공개 메소드

public scan ( integer &$Iterator, string $pattern = null, $count = null ) : boolean | Array
$Iterator integer
$pattern string
리턴 boolean | Array | Array
예제 #1
0
 public function testscan()
 {
     $this->credis->set('name', 'Jack');
     $this->credis->set('age', '33');
     $iterator = null;
     $result = $this->credis->scan($iterator, 'n*');
     $this->assertEquals($iterator, 0);
     $this->assertEquals($result, ['name']);
 }