hasProperty() public method

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