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

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

        return $this->restrictionId;
    }
public function getRestrictionId ( ) : \ Psr \ Http \ Message \ UriInterface { if ( ! $ this -> restrictionId ) { return new Uri ( ) ; } return $ this -> restrictionId ; }
Returns the id of the Restriction object this object is associated with.

@return \Psr\Http\Message\UriInterface
Returns the id of the Restriction object this object is associated with .