public static function fromPEMString(string $str): self
    {
        $pems = PEMBundle::fromString($str)->all();
        return self::fromPEMs(...$pems);
    }
public static function fromPEMString(string $str): self
    {
        $pems = PEMBundle::fromString($str)->all();
        return self::fromPEMs(...$pems);
    }
public static function fromPEMString ( string $ str ) : self { $ pems = PEMBundle :: fromString ( $ str ) -> all ( ) ; return self :: fromPEMs ( ... $ pems ) ; }
Initialize from a string containing multiple PEM blocks.

@param string $str
@return self
Initialize from a string containing multiple PEM blocks .