This method overrides parent implementation by always returning true
because you can always add a new value to the collection.
public canSetProperty ( $name ) : boolean | ||
return | boolean | true |
public function testCanSetProperty() { $collection = new TAttributeCollection(); $collection->Property = 'value'; self::assertEquals('value', $collection->itemAt('Property')); self::assertEquals(true, $collection->canSetProperty('Property')); }