has() 공개 메소드

public has ( string $key ) : boolean
$key string
리턴 boolean
예제 #1
0
 public function testMutator()
 {
     $context = new ResolvingContext();
     $this->assertFalse($context->has('foo'));
     $context->add('foo');
     $this->assertTrue($context->has('foo'));
 }