public function toPEMString(): string
    {
        return implode("\n",
            array_map(
                function (Certificate $cert) {
                    return $cert->toPEM()->string();
                }, $this->_certs));
    }
public function toPEMString(): string
    {
        return implode("\n",
            array_map(
                function (Certificate $cert) {
                    return $cert->toPEM()->string();
                }, $this->_certs));
    }
public function toPEMString ( ) : string { return implode ( "\n" , array_map ( function ( Certificate $ cert ) { return $ cert -> toPEM ( ) -> string ( ) ; } , $ this -> _certs ) ) ; }
Convert certificate chain to string of PEM blocks.

@return string
Convert certificate chain to string of PEM blocks .