remove() публичный Метод

This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false.
public remove ( $key ) : mixed
Результат mixed the removed value, null if no such key exists.
Пример #1
0
 public function testRemove()
 {
     $collection = new TAttributeCollection();
     $collection->add('Property', 'value');
     $collection->remove('Property');
     self::assertEquals(0, count($collection));
 }