public function getId(): \Psr\Http\Message\UriInterface
    {
        if (!$this->id) {
            return new Uri();
        }

        return $this->id;
    }
public function getId(): \Psr\Http\Message\UriInterface
    {
        if (!$this->id) {
            return new Uri();
        }

        return $this->id;
    }
public function getId ( ) : \ Psr \ Http \ Message \ UriInterface { if ( ! $ this -> id ) { return new Uri ( ) ; } return $ this -> id ; }
Returns the globally unique URI of this object.

@return \Psr\Http\Message\UriInterface
Returns the globally unique URI of this object .