src/Sulu/Component/Content/Compat/Structure.php
public function getStructureTag($name)
    {
        if (!isset($this->structureTags[$name])) {
            throw new \InvalidArgumentException(sprintf('Trying to get undefined structure StructureTag "%s"', $name));
        }

        return $this->structureTags[$name];
    }
public function getStructureTag($name)
    {
        if (!isset($this->structureTags[$name])) {
            throw new \InvalidArgumentException(sprintf('Trying to get undefined structure StructureTag "%s"', $name));
        }

        return $this->structureTags[$name];
    }
public function getStructureTag ( $ name ) { if ( ! isset ( $ this -> structureTags [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Trying to get undefined structure StructureTag "%s"' , $ name ) ) ; } return $ this -> structureTags [ $ name ] ; }
Return the tag with the given name.

@param string $name

@return StructureTag

@throws \InvalidArgumentException
Return the tag with the given name .