public hasProperty ( string $propertyName ) : boolean | ||
$propertyName | string | |
return | boolean |
public function hasProperty($propertyName)
{
return isset($this->properties[$propertyName]);
}
/** * @group ZF-7361 */ public function testHasProperty() { $classGenerator = new ClassGenerator(); $classGenerator->addProperty('propertyOne'); $this->assertTrue($classGenerator->hasProperty('propertyOne')); }