public function withExtensionRequest(Extensions $extensions): self
    {
        $obj = clone $this;
        if (!isset($obj->_attributes)) {
            $obj->_attributes = new Attributes();
        }
        $obj->_attributes = $obj->_attributes->withUnique(
            Attribute::fromAttributeValues(
                new ExtensionRequestValue($extensions)));
        return $obj;
    }
public function withExtensionRequest(Extensions $extensions): self
    {
        $obj = clone $this;
        if (!isset($obj->_attributes)) {
            $obj->_attributes = new Attributes();
        }
        $obj->_attributes = $obj->_attributes->withUnique(
            Attribute::fromAttributeValues(
                new ExtensionRequestValue($extensions)));
        return $obj;
    }
public function withExtensionRequest ( Extensions $ extensions ) : self { $ obj = clone $ this ; if ( ! isset ( $ obj -> _attributes ) ) { $ obj -> _attributes = new Attributes ( ) ; } $ obj -> _attributes = $ obj -> _attributes -> withUnique ( Attribute :: fromAttributeValues ( new ExtensionRequestValue ( $ extensions ) ) ) ; return $ obj ; }
Get self with extension request attribute.

@param Extensions $extensions Extensions to request
@return self
Get self with extension request attribute .