Sulu\Component\Content\Metadata\StructureMetadata::hasProperty PHP Méthode

hasProperty() public méthode

Return true if a property with the given name exists.
public hasProperty ( $name ) : boolean
Résultat boolean
    public function hasProperty($name)
    {
        return array_key_exists($name, $this->properties);
    }

Usage Example

Exemple #1
0
 /**
  * {@inheritDoc}
  */
 public function offsetExists($offset)
 {
     $this->init();
     return $this->structureMetadata->hasProperty($offset);
 }
All Usage Examples Of Sulu\Component\Content\Metadata\StructureMetadata::hasProperty