hasProperty() public method

Return true if a property with the given name exists.
public hasProperty ( $name ) : boolean
return boolean
Esempio n. 1
0
 /**
  * {@inheritDoc}
  */
 public function offsetExists($offset)
 {
     $this->init();
     return $this->structureMetadata->hasProperty($offset);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function hasProperty($name)
 {
     return $this->structure->hasProperty($name);
 }