public function withPEMBundle(PEMBundle $pem_bundle): self
    {
        $certs = $this->_certs;
        foreach ($pem_bundle as $pem) {
            $certs[] = Certificate::fromPEM($pem);
        }
        return new self(...$certs);
    }
public function withPEMBundle(PEMBundle $pem_bundle): self
    {
        $certs = $this->_certs;
        foreach ($pem_bundle as $pem) {
            $certs[] = Certificate::fromPEM($pem);
        }
        return new self(...$certs);
    }
public function withPEMBundle ( PEMBundle $ pem_bundle ) : self { $ certs = $ this -> _certs ; foreach ( $ pem_bundle as $ pem ) { $ certs [ ] = Certificate :: fromPEM ( $ pem ) ; } return new self ( ... $ certs ) ; }
Get self with certificates from PEMBundle added.

@param PEMBundle $pem_bundle
@return self
Get self with certificates from PEMBundle added .