contains() public méthode

This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false.
public contains ( $key ) : boolean
Résultat boolean whether the map contains an item with the specified key
 public function testContains()
 {
     $collection = new TAttributeCollection();
     self::assertEquals(false, $collection->contains('Property'));
     $collection->Property = 'value';
     self::assertEquals(true, $collection->contains('Property'));
 }