containsKey() 공개 메소드

Tells whether $object is one of the keys
public containsKey ( ValueObjects\ValueObjectInterface $object ) : boolean
$object ValueObjects\ValueObjectInterface
리턴 boolean
예제 #1
0
 public function testContainsKey()
 {
     $one = new Integer(1);
     $ten = new Integer(10);
     $this->assertTrue($this->dictionary->containsKey($one));
     $this->assertFalse($this->dictionary->containsKey($ten));
 }