src/Hediet/Types/UnionType.php
public function getName(array $options = array())
    {
        $result = "";
        foreach ($this->getUnitedTypes() as $type)
        {
            if ($result !== "")
                $result .= "|";
            $result .= $type->getName();
        }
        return $result;
    }
public function getName(array $options = array())
    {
        $result = "";
        foreach ($this->getUnitedTypes() as $type)
        {
            if ($result !== "")
                $result .= "|";
            $result .= $type->getName();
        }
        return $result;
    }
public function getName ( array $ options = array ( ) ) { $ result = "" ; foreach ( $ this -> getUnitedTypes ( ) as $ type ) { if ( $ result !== "" ) $ result .= "|" ; $ result .= $ type -> getName ( ) ; } return $ result ; }
Gets the name of the union type.
This name is canonical, so two equal union types have the same name.

@param array $options
@return string
Gets the name of the union type . This name is canonical so two equal union types have the same name .