src/Sulu/Component/Content/Compat/Structure.php
public function getPropertyByTagName($tagName, $highest = true)
    {
        if (array_key_exists($tagName, $this->tags)) {
            return $this->tags[$tagName][true === $highest ? 'highest' : 'lowest'];
        } else {
            throw new NoSuchPropertyException($tagName);
        }
    }
public function getPropertyByTagName($tagName, $highest = true)
    {
        if (array_key_exists($tagName, $this->tags)) {
            return $this->tags[$tagName][true === $highest ? 'highest' : 'lowest'];
        } else {
            throw new NoSuchPropertyException($tagName);
        }
    }
public function getPropertyByTagName ( $ tagName , $ highest = true ) { if ( array_key_exists ( $ tagName , $ this -> tags ) ) { return $ this -> tags [ $ tagName ] [ true === $ highest ? 'highest' : 'lowest' ] ; } else { throw new NoSuchPropertyException ( $ tagName ) ; } }
returns a property instance with given tag name.

@param string $tagName
@param bool $highest

@return PropertyInterface

@throws NoSuchPropertyException
returns a property instance with given tag name .