public function getEntityPathFromURI($uri)
    {
        if ($parts = $this->decomposeURI($uri)) {
            return $this->getEntityPath($parts['type'], $parts['id']);
        }

        throw new \InvalidArgumentException(sprintf("%s: invalid entity URI scheme or malformed URI", $uri));
    }
public function getEntityPathFromURI($uri)
    {
        if ($parts = $this->decomposeURI($uri)) {
            return $this->getEntityPath($parts['type'], $parts['id']);
        }

        throw new \InvalidArgumentException(sprintf("%s: invalid entity URI scheme or malformed URI", $uri));
    }
public function getEntityPathFromURI ( $ uri ) { if ( $ parts = $ this -> decomposeURI ( $ uri ) ) { return $ this -> getEntityPath ( $ parts [ 'type' ] , $ parts [ 'id' ] ) ; } throw new \ InvalidArgumentException ( sprintf ( "%s: invalid entity URI scheme or malformed URI" , $ uri ) ) ; }
Get entity internal path from internal URI

@param string $uri
Must match one of the supported schemes

@throws \InvalidArgumentException
Get entity internal path from internal URI