public static function fromName(string $name): self
    {
        $oid = self::attrNameToOID($name);
        return new self($oid);
    }
public static function fromName(string $name): self
    {
        $oid = self::attrNameToOID($name);
        return new self($oid);
    }
public static function fromName ( string $ name ) : self { $ oid = self :: attrNameToOID ( $ name ) ; return new self ( $ oid ) ; }
Initialize from attribute name.

@param string $name
@return self
Initialize from attribute name .