public static function fromAttributeValues(AttributeValue ...$values): self
    {
        $attribs = array_map(
            function (AttributeValue $value) {
                return new AttributeTypeAndValue(
                    new AttributeType($value->oid()), $value);
            }, $values);
        return new self(...$attribs);
    }
public static function fromAttributeValues(AttributeValue ...$values): self
    {
        $attribs = array_map(
            function (AttributeValue $value) {
                return new AttributeTypeAndValue(
                    new AttributeType($value->oid()), $value);
            }, $values);
        return new self(...$attribs);
    }
public static function fromAttributeValues ( AttributeValue ... $ values ) : self { $ attribs = array_map ( function ( AttributeValue $ value ) { return new AttributeTypeAndValue ( new AttributeType ( $ value -> oid ( ) ) , $ value ) ; } , $ values ) ; return new self ( ... $ attribs ) ; }
Convenience method to initialize RDN from AttributeValue objects.

@param AttributeValue ...$values One or more attributes
@return self
Convenience method to initialize RDN from AttributeValue objects .