public function getUriForDiagrammType($type)
    {
        switch ($type) {
            case Diagramm::TYPE_ACTIVITY:
                $uri = $this->getOptions()->getYumlActivityDiagrammUrl();
                break;
            case Diagramm::TYPE_CLASS:
                $uri = $this->getOptions()->getYumlClassDiagrammUrl();
                break;
            case Diagramm::TYPE_DIAGRAMM:
                throw new \InvalidArgumentException('Unsupported diagramm type "' . $type . '"');
                break;
            case Diagramm::TYPE_USE_CASE:
                $uri = $this->getOptions()->getYumlUseCaseDiagrammUrl();
                break;
            default:
                throw new \InvalidArgumentException('Unkown diagramm type "' . $type . '"');
                break;
        }
        return $uri;
    }
public function getUriForDiagrammType($type)
    {
        switch ($type) {
            case Diagramm::TYPE_ACTIVITY:
                $uri = $this->getOptions()->getYumlActivityDiagrammUrl();
                break;
            case Diagramm::TYPE_CLASS:
                $uri = $this->getOptions()->getYumlClassDiagrammUrl();
                break;
            case Diagramm::TYPE_DIAGRAMM:
                throw new \InvalidArgumentException('Unsupported diagramm type "' . $type . '"');
                break;
            case Diagramm::TYPE_USE_CASE:
                $uri = $this->getOptions()->getYumlUseCaseDiagrammUrl();
                break;
            default:
                throw new \InvalidArgumentException('Unkown diagramm type "' . $type . '"');
                break;
        }
        return $uri;
    }
public function getUriForDiagrammType ( $ type ) { switch ( $ type ) { case Diagramm :: TYPE_ACTIVITY : $ uri = $ this -> getOptions ( ) -> getYumlActivityDiagrammUrl ( ) ; break ; case Diagramm :: TYPE_CLASS : $ uri = $ this -> getOptions ( ) -> getYumlClassDiagrammUrl ( ) ; break ; case Diagramm :: TYPE_DIAGRAMM : throw new \ InvalidArgumentException ( 'Unsupported diagramm type "' . $ type . '"' ) ; break ; case Diagramm :: TYPE_USE_CASE : $ uri = $ this -> getOptions ( ) -> getYumlUseCaseDiagrammUrl ( ) ; break ; default : throw new \ InvalidArgumentException ( 'Unkown diagramm type "' . $ type . '"' ) ; break ; } return $ uri ; }
Returns the URI for the yuml service for a diagramm type

@param string $type
@throws \InvalidArgumentException
@return string
Returns the URI for the yuml service for a diagramm type